Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 345545 - Remove Xtext Nature does not remove problem markers
Summary: Remove Xtext Nature does not remove problem markers
Status: CLOSED FIXED
Alias: None
Product: TMF
Classification: Modeling
Component: Xtext (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Windows Vista
: P3 normal (vote)
Target Milestone: M2   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2011-05-12 04:07 EDT by Ed Willink CLA
Modified: 2017-10-31 11:17 EDT (History)
2 users (show)

See Also:
sebastian.zarnekow: kepler+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Willink CLA 2011-05-12 04:07:30 EDT
M7 [This may be related to Bug 304814.]

Edit an Xtext file so that there are many errors.
Save it.
=> there are many markers in the Problem View
Remove Xtext Nature from project.
=> the markers remain in the Problem View
Comment 1 Sebastian Zarnekow CLA 2012-09-16 07:14:32 EDT
Could be a little bit tricky:

We would have to collect all markers that are Xtext markers, check the resource service provider of the respective language for presence of the builder stuff and conditionally delete the markers.
Comment 2 Ed Willink CLA 2012-09-16 08:40:07 EDT
In the past, I have just done a deep delete from the IProject of the marker types used by the nature/builder.
Comment 3 Michael Clay CLA 2012-09-18 16:28:57 EDT
we decided to keep it simple and delete all Xtext markers (+ subtypes) of the project from which the nature is removed
Comment 4 Michael Clay CLA 2012-09-25 15:22:54 EDT
pushed to master
Comment 5 Eclipse Webmaster CLA 2017-10-31 11:06:23 EDT
Requested via bug 522520.

-M.
Comment 6 Eclipse Webmaster CLA 2017-10-31 11:17:46 EDT
Requested via bug 522520.

-M.