Automatic checkout of files for changing code throughout a project...

I wanted to change the name of a class that was being used throughout my project. However, when it previewed the changes to be made it warned me that many of the files were read-only. I had to manually check each one of them out. Is there any way that process could have been automated for me?

The more I use Idea, the fussier I'm getting about what I'd like to have automated! A high compliment to the product indeed.

4 comments

In article <5026922.1066157193775.JavaMail.itn@is.intellij.net>,
joe martinez <alanbrown@pacbell.net> wrote:

I wanted to change the name of a class that was being used throughout my
project. However, when it previewed the changes to be made it warned me that
many of the files were read-only. I had to manually check each one of them
out. Is there any way that process could have been automated for me?


What version control system are you using?

I use Perforce and with the PerforceDirectPlugin, I can select the root
node in the refactoring preview and ask the plugin to check all the
files out. It might work the same with whatever version control system
you are using.

0

Does that check out everything under the tree or just the files in the refactoring view?

I'll look into it and post what I find...

0

Thanks for the pointer. I can indeed check 'em out from the refactoring window with VSS

0

Please sign in to leave a comment.