Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Quick SwitchNew to Visual Studio Code? Get it now.
Quick Switch

Quick Switch

Liangqin

|
447 installs
| (0) | Free
Enables quick switch among relevant files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Introduction

This extension enables you quickly switch among relevant files. Press Ctrl+Alt+S to switch to another file from quick pick.

Quick Switch

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.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft