Another Annotator question ;-)

If my JAVA file has syntax errors (e.g. duplicate method declarations), my injected Annotator is not called at all. While this may be the right thing, is there a way to customize this behaviour?

6 comments

Hello Yann,

If my JAVA file has syntax errors (e.g. duplicate method
declarations), my injected Annotator is not called at all. While this
may be the right thing, is there a way to customize this behaviour?


Not at the moment. Do you need such a thing?

-


Maxim Shafirov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"




0

Hi Maxim,

well, IMHO it is distracting for the user to see all annotators go away and come back after fixing just one error - the user does not necessarily understand the difference between (syntax) annotators provided from Language itself and contributed annotators.

Greetings,

Yann

0

Yann Cebron wrote:

If my JAVA file has syntax errors (e.g. duplicate method
declarations), my injected Annotator is not called at all. While this
may be the right thing, is there a way to customize this behaviour?


This is issue http://jetbrains.net/jira/browse/IDEABKL-3420 and it's a
huge problem for my language plugin as well.

0

Also http://jetbrains.net/jira/browse/IDEA-5520 concerns this issue

Yann Cebron wrote:

If my JAVA file has syntax errors (e.g. duplicate method declarations), my injected Annotator is not called at all. While this may be the right thing, is there a way to customize this behaviour?

0

And yet another question: how can I force re-run of Annotator on a given file to update the status resulting by changes in other files?

0

Please sign in to leave a comment.