user87362
user87362

Reputation: 263

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

Upvotes: 18

Views: 10404

Answers (4)

Gouda Elalfy
Gouda Elalfy

Reputation: 7023

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

Upvotes: 0

Vivek
Vivek

Reputation: 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

Upvotes: -1

kwesolowski
kwesolowski

Reputation: 724

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.

Upvotes: 3

James Blackburn
James Blackburn

Reputation: 4491

Yes, in the problems view:

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

All the markers are then deleted.

Upvotes: 16

Related Questions