I am working on a VCS integration (still targeting IDEA 6.0 at the moment) and am looking for the best way to handle directory moves. My first idea was to implement a LocalFileOperationsHandler, but I'm not sure if that's the best way. Here's an explanation of the issue:
Under this vcs, all files are read-only unless they are checked out for modification. When moving a directory, a command is issued to the vcs and it carries out the move operation. No files underneath the directory are checked out, however the directory itself is checked out as a part of the operation.
From what I've seen so far, IDEA wants to clear the read-only status of all files within a directory during a move operation, which is not desirable especially with large hierarchies. I'd like to get around this if possible.
Any advice or ideas?