Visual Studio 2005 Shortcuts

前端 未结 5 1645
无人及你
无人及你 2020-12-11 04:58

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

相关标签:
5条回答
  • 2020-12-11 05:39

    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

    0 讨论(0)
  • 2020-12-11 05:43

    Ctrl-Shift-Space shows the syntax/overloads for the current function you are typing parameters for.

    0 讨论(0)
  • 2020-12-11 05:47

    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:

    • toggling between .h and .cpp files (yes, I code in C++ :) ) (Alt-o);
    • going to the definition of something (Alt-g).
    0 讨论(0)
  • 2020-12-11 05:51

    VS 2005/2008 Keybinding posters:

    • Visual C# 2008 Keybinding Reference Poster
    • Visual C# 2005 Keyboard Shortcut Reference Poster
    • Visual Basic 2008 Keybinding Reference Poster
    • Visual Basic 2005 Keyboard Shortcut Reference Poster

    These don't cover customizations but they're good reference materials and definitely helpful for finding new shortcuts.

    0 讨论(0)
  • 2020-12-11 05:53

    Tools > Options > (Show all settings), then Environment > Keyboard.

    Here, rebind the key “File.Close” to Ctrl+W.

    0 讨论(0)
提交回复
热议问题