vscode-cpptools icon indicating copy to clipboard operation
vscode-cpptools copied to clipboard

Toggle header/source file

Open zrno opened this issue 6 years ago • 3 comments

Issue Type: Feature Request

Currently an extension needs to be used to toggle between header and source files written in C, C++ and Objective-C.

https://marketplace.visualstudio.com/items?itemName=bbenoist.togglehs

Could this feature be implemented as part of cpp extension?

One the issues with the mentioned extension is that it doesn't work when using VS Codes Live Share extension.

Extension version: 0.28.3 VS Code version: Code 1.46.1 (cd9ea6488829f560dc949a8b2fb789f3cdc05f5d, 2020-06-17T21:13:20.174Z) OS version: Windows_NT x64 10.0.18362

zrno avatar Jul 06 '20 21:07 zrno

Have you tried Alt + O?

oo8dev avatar Jul 06 '20 21:07 oo8dev

Actually no. I only see the shortcut now. So it works it seems. Was this added in the last year or two?

zrno avatar Jul 06 '20 22:07 zrno

Glad to hear you are unblocked. We've had that feature since the beginning but it has improved over the years.

bobbrow avatar Jul 07 '20 16:07 bobbrow