intellij-sdk-code-samples/simple_language_plugin
Vladimir Schneider 77a019842c change FindUsages getWordScanner not to be static.
If it is static then there are multi-threading issues. When indexing multiple threads are running and overwriting the lexer state that the word scanner uses.

I copied the SimplePlugin find usages class and spent hours chasing index out range bugs. I also noticed that the SimplePlugin which I have installed in my plugin dev environment would once in a while cause an exception but I did not pay it much attention. The static word scanner is the source.
2015-09-16 02:06:53 -04:00
..