Header-source switch for VS code
Opens the associated file mapping in the current pane
Switches to the associated mapping in a pane to the left or right
Toggles the tracking mode on/off, which will automatically open the equivalent header/source file (or other mapping) in an adjacent pane when the current pane switches files.
Please contact me if you have any questions, concerns, or feature requests.
"headerSourceSwitch.mappings": {
"type": "array",
"description": "Array of mappings, defaults to C++ mappings",
"default": [
{
"header": [
".h",
".hpp",
".hh",
".hxx"
],
"source": [
".cpp",
".c",
".cc",
".cxx",
".m",
".mm"
],
"name": "C++"
}
]
Add toggle mode, which automatically opens associated mapping files when the current pane switches to a new file.
Add command to open in left pane. Panes are now relative to current pane, so left/right will always be -/+ one pane from active.
Add mappings configuration
Re-released and rewritten using the latest extension practices for vscode.