Skip to content

sunliangqin/VSCodeQuickSwitch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

37 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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