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.

1 comment
Comment actions Permalink

how about this:

touch $file

on opening file, then as per this thread:



Please sign in to leave a comment.