How my plugin can get notified when user modifies current file in editor? Follow
My plugin parses current editor file and provides result but obviously I'd like to render results again when user changes something in the file. How do I get notification? I failed to find this in documentation so far.
Are there different levels of change - like changed one character, changed line, saved file?
Please sign in to leave a comment.
Please read the PSI Files section in our docs.
Already did, this is why I am asking here for support. There is no answer to my question there.
Andrei, you have mentioned that you didn't find information about being notified about files change - that's why I've linked you the exact page.
If you have any specific problem - please provide more details so we'll be on the same page.
I think I was quite specific. So you are saying that the single possible option is to use PSI structure listeners or whatever?
So there is no way to track changes in Editor, independently on language structure?
Please clarify what
My plugin parses current editor file
means, how is it triggered/integrated with IDE?