Syntax analysis, annotators, inspections

Hello

I think that "Syntax analysis", "annotators" and inspections are running all in parallel... I would like some informations about that :

  1. Is there a way to wait for "syntax analysis" to finish before my "annotators" and "inspections" will start ?
  2. Is there a way to force some of my inspection to run sequentially ?

One more quesition :

  • Why are some of my inspection reported as "slow" inspections and others not ?

 

0
3 comments

Hi,

annotators and inspections are run in different passes which are partially ordered but plugins have no influence on that.

1. What is "syntax analysis" in your terms and why do you want to wait for them?  

2. No, there is no way to make some inspections to run sequentially. Why do you want this?

3. Who report inspections as slow? 

Anna

0

Hello

Thank your for this explanations.

I need to load a cache which is used by all of my inspections and by references resolution also... 

if I can't run all of this sequentially, is there a way to raise some code before IntelliJ will launch the syntax analysis, the annotation and inspections ?

Thank your for your help

Maxime 

0

No, there is no such api. You may create your own pass and run there analysis you need though. Are you sure that you need multiple analysis? 

Anna

0

Please sign in to leave a comment.