Handling Refactor -> Rename and Refactor -> Move in VCS

I am finishing up some work in the initial release for the new MKS plugin. MKS provides a rename and move operation similar to IDEA.

Basically, when a user renames or moves a file/class, I want to perform a specific vcs operation in the background.

What is the correct way of listening for/acting on these events?

TIA,

Steve

1 comment

Hello Steven,

I am finishing up some work in the initial release for the new MKS
plugin. MKS provides a rename and move operation similar to IDEA.

Basically, when a user renames or moves a file/class, I want to
perform a specific vcs operation in the background.

What is the correct way of listening for/acting on these events?


In Selena, there's a base class VcsFileSystemListener that has overridable
methods for such operations. In previous versions, you can implement such
a listener by yourself (or just copy the code from VcsFileSystemListener).

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.