Friday, February 8, 2008

C++ Tip: renaming files from the VS IDE

A few days ago I realized - renaming files can be done from the IDE. Too simple : go to "Solution Explorer" tab, select a file, press F2 (just like in Windows Explorer), type the new name, Enter and that's it!

Side-note: if your source files are on SVN/CVS, renaming from the IDE is a no-no.

2 comments:

malte said...

AnkhSVN, http://ankhsvn.tigris.org/ , can handle renames from within the IDE if you use Subversion. However, you're limited to the abilities of plain subversion, so it won't let you rename modified files without intermediate commit.

John Torjo said...

That sounds pretty cool. First of all, I use Subversion, and second of all, I think I'll give it a try - seems nice.

Best,
John