Is there a listener to listen to file changes?

已回答

Hi,

I am developing a plugin that shows information/tips about the class that is currently open. But to refresh the information, I now have to constantly press a button.

I would like to have a listener that listens to when a file is changed inside a project, so it can automaticly refresh the content in the window. But sadly I could not find the "topic" to set the listener to.

Does anyone know how I can achieve this?

 

Thanks in advance!

0
RelatedItemLineMarkerProvider  
0

This would be a generic solution https://jetbrains.org/intellij/sdk/docs/basics/virtual_file_system.html#virtual-file-system-events but it really depends on "what" could change representation of contents in your tool window

0

请先登录再写评论。