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?
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?
Tools > Options > Environment > Keyboard
I find most of them useful TBH!
Commenting, Bookmarking, Incremental Search, etc etc.
The one you want to override by the way is Window.CloseDocumentWindow which defaults to CTRL+F4
Tools > Options > (Show all settings), then Environment > Keyboard.
Here, rebind the key “File.Close” to Ctrl+W.
I keep a link to Jeff's shortcuts page, and refer to it to learn the shortcuts for all tasks I find myself regularly doing. I also use VisualAssist, and use a lot of:
I have tried this, but now Resharper's default Ctrl-W shortcut is taking over... I can't find any way in Resharper's options to disable that binding. Any ideas?
VS 2005/2008 Keybinding posters:
These don't cover customizations but they're good reference materials and definitely helpful for finding new shortcuts.
Ctrl-Shift-Space shows the syntax/overloads for the current function you are typing parameters for.