Is there a way to load .h file for current .cpp file in Visual Studio 2019?

Viewed 114

I have been developing in Visual Studio 2005 for ages, finally bit the bullet and moved to Visual Studio 2019. In VS2005 I have a macro that loads .h file for current .cpp file when I press Ctrl+H. I understand that macros are not supported in 2019 internally and that there are plugins that enable them, but they lack macro editor. Is there any way to achieve the same functionality I had in VS2019?

1 Answers

No macro nor plugin is needed. Just rightclick the editing pane within Visual Studio 2019 (while editing your .cpp source file), and select Toggle Header/Code File from the popup menu

Related