Auto Workspace Opener
Open a folder in VS Code, then this extension can scan for .code-workspace files and open one automatically.
Features
- Runs after VS Code startup (
onStartupFinished)
- Scans current open folder(s) for
.code-workspace
- If one file is found, opens it automatically
- If multiple files are found, you can pick one (or configure to open the first)
- Provides command:
Auto Workspace Opener: Scan and Open Workspace
Settings
autoWorkspaceOpener.openMode: auto (自动打开), ask (询问后打开), off (关闭自动打开)
autoWorkspaceOpener.enabled: Legacy switch; if false, startup auto-open is disabled
autoWorkspaceOpener.scanPattern: Include glob pattern
autoWorkspaceOpener.scanScope: recursive or topLevel (top-level means non-recursive)
autoWorkspaceOpener.excludePattern: Exclude glob pattern
autoWorkspaceOpener.maxResults: Max match count
autoWorkspaceOpener.multipleMatchBehavior: pick or first
autoWorkspaceOpener.silent: Hide informational messages
Development
code .
Then press F5 in VS Code to launch Extension Development Host.
| |