18

Is there a way to clear the Problems window (and any related source code error/warning annotations) without invoking "Build All/Project/..." or "Clean project" (or deleting the project and then re-creating/re-importing it)?

braX
  • 11,506
  • 5
  • 20
  • 33
user87362
  • 263
  • 1
  • 3
  • 8

4 Answers4

15

Yes, in the problems view:

  1. Right Click > Select All (or ctrl-A)
  2. Right Click > Delete

All the markers are then deleted.

James Blackburn
  • 4,492
  • 2
  • 27
  • 24
  • 2
    This is not a solution for me, as I got over 3k error, and the window only show 100 at a time. Any other ideas? – Loda May 17 '11 at 07:49
  • 2
    I'm having the same issue, and Delete is not available when I select all problems. – Matt K Feb 17 '12 at 21:18
3

It is also not best solution, but when you configure Problems view (using menus under arrow icon) you can turn limit off and then select and deleta all errors.

kwesolowski
  • 695
  • 8
  • 18
0

you can set limit visible items through the down arrow in the top right side of problems views then click preferences, type your limit, for example (1000):

enter image description here

after that by :

right click in the problems view -> select all,
right click again -> delete.

enter image description here

Gouda Elalfy
  • 6,888
  • 1
  • 26
  • 38
-1

If Using Checkstyle, then go to the Project-> Right Click -> Checkstyle -> Clear Violations.

This will clear the Problems Window of all the Errors, Warnings reported via Checkstyle

Mehul Mistri
  • 15,037
  • 14
  • 70
  • 94
Vivek
  • 1