ScopesScopes provides named, workspace-level visibility profiles for the VS Code Explorer. Scope configurationThe small manifest selects the active scope:
Each editable scope has its own stable, lowercase ID and definition file:
Everything is excluded when no rule matches. Matching rules use CSS-like specificity: exact paths beat globs, deeper literal paths beat broader paths, fewer wildcards win after literal specificity, and a later rule wins an exact tie. An exact folder exclusion cascades through its descendants unless a more-specific descendant rule overrides it; an ordinary folder inclusion remains non-recursive. This allows a specific included subfolder or file to reopen part of a broader excluded parent while preserving the distinction between Include and Include All. The extension resolves the workspace and converts the result to owned Compiled resolutions are cached locally under Version 1 and 2 monolithic configurations are intentionally not migrated. A non-version-3 manifest is reported and left untouched. Live updates and apply behaviorScopes watches the manifest, individual definitions, generated state, workspace settings, and workspace file/folder creation, deletion, and rename events. Metadata and cache files are excluded from the workspace model to avoid watcher loops. Pre-existing user-owned The tree distinguishes why an item is hidden: unmatched items use a light neutral colour for the default-hidden baseline, explicit scope exclusions use a darker neutral colour, and global exclusions remain red with the highest visual priority. Included items are green and structurally mixed folders are yellow. The manager previews rule edits immediately. Explorer changes occur only after Apply succeeds. While a scope is being applied, both the manager and Explorer scope list show an applying state. Definition, settings, state, and manifest writes are treated as one apply transaction and restored if a write fails. Commands
Development
LicenseScopes is licensed under the GNU Affero General Public License v3.0 only. See LICENSE. |