Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Auto Workspace OpenerNew to Visual Studio Code? Get it now.
Auto Workspace Opener

Auto Workspace Opener

lrs

| (0) | Free
Automatically scan and open .code-workspace files when VS Code starts.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft