QuarticCat / vscode-scope-focus

Focus on a subset of files
https://marketplace.visualstudio.com/items?itemName=QuarticCat.scope-focus
MIT License
2 stars 0 forks source link

Scope Focus

When working on a large repo, it's often desired to focus on a subset of files. This extension lets you switch among predefined subsets (called "scopes") and hide rest files. It aims to provide a similar experience to IntelliJ's scopes.

You can consider it as a workaround of vscode#869.

Features

Extension Settings

Workspace Settings

Examples

Taking llvm-project as an example. If you want to focus on clang and llvm and then exclude cmake sub-folders, you can configure like this:

{
    "scope-focus.activeScope": "LLVM/Clang",
    "scope-focus.scopes": {
        "LLVM/Clang": {
            "include": ["clang", "llvm"],  // accept globs
            "exclude": ["*/cmake"]         // accept globs
        }
    }
}

Known Issues

Alternatives

Release Notes

0.1.1

Avoid creating .vscode/settings.json.

0.1.0

Basic implementation.