Skip to content

sunliangqin/VSCodeQuickSwitch

Repository files navigation

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.

About

Quick switch extension for VSCode

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published