Set Icons when the state is not changed.
I have a plugin where multiple users can connect and edit the files in the same project. I want to show a dot on top of icons of files when they are opened by other users.
I tried implementing IconProvider and using FileEditorManagerEx.updateFilePresentation()
But this only works when the state of files are changed. I want to change the Icon even when its state is not changed (ex: when the file is only opened by another user). Please guide me to achive this.
Please sign in to leave a comment.
how about this:
on opening file, then as per this thread:
https://devnet.jetbrains.com/message/5503148#5503148
?