Eclipse CDT: How to clear Problems window without invoking Clean Project or Build Project?
Asked Answered
P

4

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)?

Playpen answered 5/3, 2010 at 8:25 Comment(0)
D
16

Yes, in the problems view:

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

All the markers are then deleted.

Downtrodden answered 19/3, 2010 at 16:6 Comment(3)
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?Beeck
I'm having the same issue, and Delete is not available when I select all problems.Northnorthwest
Try to build your project and if its succsess and still IDE shows Errors in problem section then this works because these are not real errors anymoreHeyman
C
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.

Commit answered 18/1, 2012 at 10:10 Comment(0)
T
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

Tiddlywinks answered 5/4, 2017 at 13:11 Comment(0)
L
-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

Locality answered 16/6, 2011 at 13:59 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.