开发者

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:

  1. Right Click > Select All (or ctrl-A)
  2. 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):

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

after that by :

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

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


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜