Menu

#1048 [patch] "Only analyze open editors" leaves markers hanging

open
nobody
None
5
2010-01-15
2010-01-15
No

To reproduce: Open a Pydev project that contains errors and "Only analyze open editors" is OFF. Close all editors. Go to Pydef preferences and turn ON "Only analyze open editors".
Observed behaviour: All markers remain. Markers remain even after project clean and (sometimes?) even after restart of Eclipse.
Expected behaviour: All PyDev-related markers should vanish, at least on project clean.

This bug causes a problem when the number of error markers is huge (due to, for example, a missing module that can not be immediately corrected). Then it is impossible to work with the project and this "Only analyze open editors" would be an excellent workaround (it the markers would vanish, that is).

Discussion

  • Rickard Petzäll

    My temporary solution

     
  • Rickard Petzäll

    I have posted a patch with my temporary fix for the problem. The outline of the fix is: deletes all pydev markers before starting a full build.

    I had to hard code the marker ID and I'm not sure if there are side effects under some conditions, but this works well for now on our site.

     
  • Rickard Petzäll

    • summary: "Only analyze open editors" leaves markers hanging --> [patch] "Only analyze open editors" leaves markers hanging
     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.