You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Maybe there is some inconsistency in computing indentations?
It was recorded in IntelliJ IDEA Ultimate 2019.3.
EDIT:
After a few more tests it looks like analysis is run with delay (what is reasonable) and if we insert some new text before annotated text, then it breaks positions. Sometimes it's fixed after a moment and sometimes stays broken until I type anything what is pretty annoying and distracting.
The text was updated successfully, but these errors were encountered:
The annotator in this plugin receives PsiFiles which are updated as you edit, but, interestingly, the VirtualFiles associated with them aren't updated, at least from my debugging. Perhaps some kind of caching issue? I would think the fix would be making it so that the core detekt library can analyze PsiFiles directly so that the highlights can be applied accurately, or somehow triggering an update of the virtual file and waiting for it to reflect the changes in the PsiFile. I don't know how to implement either of these, just wanted to note.
Please see recording: https://i.imgur.com/dcc9gDf.mp4.
Maybe there is some inconsistency in computing indentations?
It was recorded in IntelliJ IDEA Ultimate 2019.3.
EDIT:
After a few more tests it looks like analysis is run with delay (what is reasonable) and if we insert some new text before annotated text, then it breaks positions. Sometimes it's fixed after a moment and sometimes stays broken until I type anything what is pretty annoying and distracting.
The text was updated successfully, but these errors were encountered: