Eclipse CDT: How to clear Problems window without invoking Clean Project or Build Project?
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-imp开发者_StackOverfloworting it)?
Yes, in the problems view:
- Right Click > Select All (or ctrl-A)
- Right Click > Delete
All the markers are then deleted.
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.
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):
after that by :
right click in the problems view -> select all,
right click again -> delete.
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
精彩评论