I used to used the shortcut Ctrl + Shift + C to add a new class in Visual Studio 2015. This seems to have gone away when I'm using a different machine. How do I set this?
I've looked in Options > Environment > Keyboard but I can't see anything obvious...
Customize a keyboard shortcutOn the menu bar, choose Tools > Options. Expand Environment, and then choose Keyboard.
Edit.SelectionCancel. Surround with. Ctrl+K, Ctrl+S. (available only in Visual Studio 2019 and earlier)
if you want to use just one Key you can do this via the "text" property. if you set the button text to My&Button then "b" will be the shortcut. if you want to use just one Key you can do this via the "text" property. if you set the button text to My&Button then "b" will be the shortcut.
Open Options -> Environment -> Keyboard, search for commands containing Project.AddClass and set the shortcut you want
Also, see article Visual Studio Shortcuts and Add on Tools...
This article explains the same in more detail with some other interesting (and perhaps even relevant) points.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With