visual-studiokeyboard-shortcutsrename

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.


Solution

  • Depends on your settings profile:

    In the C# profile, F2 does this.

    you can assign a shortcut to any key: