Vcs plugin: How to track file operations (rename et al.)
Hi,
I currently develop a version control plugin for IDEA. To track file operations I registered a custom VirtualFileListener implementation during project opening like it's done in the svn plugin example sources. However, when I do a refactoring (Refactor->Rename) of a class just the content Changed() method of the VirtualFileAdapter is called not move() as expected. This is with IDEA 6.0.2 and the corresponding PDK.
What else needs to be done to get the notifications?
-Tim
Please sign in to leave a comment.
fileMoved() is called for move refactoring. For rename you get propertyChanged with VirtualFile.PROPERTY_NAME as the changed property.
Ah. Missed that.
Thanks, it's working now.
-Tim