How to switch between header and implementation in VS2010?

grigoryvp picture grigoryvp · Nov 15, 2010 · Viewed 13.9k times · Source

Is it any keyboard shortcut or free addon in Visual Studio 2010 that allows to switch between header (C/C++ .h file) and implementation (C/C++ .cpp file)?

Answer

Anton K picture Anton K · Dec 17, 2013

MS added this feature in Visual Studio 2013. It's a default keyboard shortcut Ctrl + K, Ctrl + O

To clarify: Keep Ctrl pressed, type K, type O, release Ctrl.

You can find the command this maps to from the customize-keyboard options as well (tested for VS2015):

VS2015_Customize