Introduction
This extension enables you quickly switch among relevant files. Press Ctrl+Alt+S to switch to another file from quick pick.
Settings
The following setting enables quick switch among .cpp, .h and _ut.cpp files.
"quickSwitch.rules": [
{
"pattern": "(.+?)(_ut\\.cpp|\\.cpp|\\.h)",
"list": [
"$1.cpp",
"$1.h",
"$1_ut.cpp"
]
}
]
- pattern: a regular expression to match the current file path (used '/' as path separator). The first rule that matches will be used for quick switch.
- list: an ordered list of files for quick switch. Use $n to reference the capturing groups defined in pattern.
| |