I'm trying to bind the following shortcut: Ctrl + W to close tabs
How can you customize VS to add/change shortcuts? Also, what are the most useful shortcuts you guys have found?
The Global context means that the shortcut is applicable in any tool window in Visual Studio. You can look up the shortcut for any command by opening the Options dialog box, expanding the Environment node, and then choosing Keyboard.
On the menu bar, choose Tools > Options. Expand Environment, and then choose Keyboard. Optional: Filter the list of commands by entering all or part of the name of the command, without spaces, in the Show commands containing box. In the list, choose the command to which you want to assign a keyboard shortcut.
Ctrl+K for Removing Bookmarks Visual Studio contains a characteristic that enables users to add a bookmark. This bookmark can be added to a line of code in a solution.
Tools > Options > (Show all settings), then Environment > Keyboard.
Here, rebind the key “File.Close” to Ctrl+W.
VS 2005/2008 Keybinding posters:
These don't cover customizations but they're good reference materials and definitely helpful for finding new shortcuts.
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