Overview Q & A Rating & Review
A Visual Studio extension that jumps between a .h file and its same-named .inl file. Default shortcut: Ctrl+K, Ctrl+0 (configurable).
Features
When the active document is .h, opens the same-named .inl file in the same directory.
When the active document is .inl, opens the same-named .h file.
If the target file is already open, its window is activated instead of opening a duplicate.
Extensions are matched case-insensitively (.H / .INL also work).
The command is also available under the Tools menu: Go to Header / Inline File (.h / .inl).
In the following cases only a message is shown; no file is created:
No document is open;
The active file is neither .h nor .inl;
The active document has not been saved to disk;
No same-named counterpart exists in the same directory.
Changing the shortcut
Open Tools → Options → Environment → Keyboard .
Type Go to Header in "Show commands containing", or press your desired chord to see which command currently owns it.
Select Go to Header / Inline File (.h / .inl), enter the new shortcut in "Press shortcut keys" and click Assign .
Click OK to save.
Requirements
Visual Studio 2022 (17.0 or later) or Visual Studio 2026, amd64;
The "Visual Studio core editor" component (CoreEditor) must be installed.