VCS open api

I've been slowly updating the MKS VCS plugin and wanted to add the vcs-rename feature (which is supported by mks).

I've implemented the FileRenameProvider getFileRenamer() method inherited by AbstractVcs but it doesn't seem to be called by IDEA when i do a rename refactoring on a file.
Did i miss something ?

2 comments

Hello Thibaut,

T> I've been slowly updating the MKS VCS plugin and wanted to add the
T> vcs-rename feature (which is supported by mks).
T>
T> I've implemented the FileRenameProvider getFileRenamer() method
T> inherited by AbstractVcs but it doesn't seem to be called by IDEA
T> when i do a rename refactoring on a file.
T>
T> Did i miss something ?

The FileRenameProvider is part of the old check-in API. Currently the VCS
plugins perform renames internally by monitoring file operations (see the
PerforceListeners class for an example of how the Perforce plugin does that).

--
Dmitry Jemerov
Software Developer
JetBrains, Inc.
http://www.jetbrains.com
"Develop with pleasure!"


0

Please sign in to leave a comment.