Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there a Visual Studio keyboard shortcut to rename a file in Solution Explorer?

As the question title says: Is there a Visual Studio keyboard shortcut (or series of shortcuts) to rename file in Solution Explorer?

I am using VS2008 and manually doing this by right-clicking on a file in the Solution Explorer and selecting 'Rename', but this is a pain in the behind.

like image 476
Dhaust Avatar asked Nov 10 '10 03:11

Dhaust


People also ask

What is the shortcut to rename a file in file Explorer?

8. Renaming Files and Folders. To edit or rename a file or folder, simply hit F2 when your file is selected. (If you are on a laptop, you may have to press the Fn key when you hit F2 .)

What is the keyboard shortcut for file renaming?

Using a Keyboard Shortcut Once the file is selected, press F2 to highlight the name of the file. After you type in a new name, press the Enter key to save the new name.


1 Answers

No use option Refractor.Rename and Assign key to that say F2

like image 103
abobjects.com Avatar answered Nov 03 '22 06:11

abobjects.com