Is there a shortcut to move between header and source file in VC++?

后端 未结 16 928
长发绾君心
长发绾君心 2020-12-04 08:07

This is a feature I have grown accustomed to in Eclipse (Ctrl+Tab). Is there an equivalent in Visual C++?

16条回答
  •  误落风尘
    2020-12-04 08:34

    For Visual Studio 2013, as mentioned by others it's the command named:

    EditorContextMenus.CodeWindow.ToggleHeaderCodeFile
    

    and it has as default combination of keys: Ctrl+K,Ctrl+O, but it can be changed if you introduce the new combination of keys that you like in the

    Press shortcut keys:

    under

    Tools -> Options -> Environment -> Keyboard.

    So you can choose a custom keys combination as my favorite for .h to .cpp switch is Ctrl+Tab.

提交回复
热议问题