Skip to content

Improve markers experience with "Clean all projects" #3876

@vogella

Description

@vogella

If I currently select "Clean all projects" the error markers remains visible until the responsible builder starts the project and removes and updates the markers.

New markers arrive in the problems views and mix with the old outdated markers because the Problems view updates in real-time.

In case we select "Clean all projects", we could delete all markers before the builder gets active. This would allow the user to looks at the valid problem markers which are created during the build without having to guess which one of the other problem markers are still valid.

Especially useful for builds which take a long time, for example one of my clients has a build of approx. 20 minutes for his workspace (and due to strange IDE behavior feels that he has to do a full clean build from time to time).

Batch deletion of markers is very efficient AFAIK, e.g.,

workspace.run(m-> {
   projects.deleteMarkers(null, true, IResource.DEPTH_INFINITE);
}, null);

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions