|How to get rid of obsolete validation errors? [message #989649]
||Fri, 07 December 2012 03:12
| Aaron Digulla
Registered: July 2009
While developing a DSL, I often need to change my grammar. To make the unit tests pass, I need to update the test files.|
Now I get validation errors because the version of the editor installed in another copy of Eclipse can't (yet) understand this new format. That's OK and expected.
Now I install the new version (with the new grammar) and restart. But the validation errors don't go away. That's bad.
How do I get rid of these obsolete errors?
1. Restarting Eclipse
2. Forcing a rebuild
3. Select "Validate" in the project's context menu
4. Change and save each file
Of these, #2 and #4 work but both have drawbacks:
#4 is a lot of work because I have many files.
#2 triggers a bug in MercurialEclipse (https://bitbucket.org/mercurialeclipse/main/issue/351/files-under-version-control-get-deleted-by)
1. Is there another way to handle this?
2. Why doesn't "Validate" clear the errors in the "Problems View"?
Powered by FUDForum
. Page generated in 0.02800 seconds