Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Workspace FlagNew to Visual Studio Code? Get it now.
Workspace Flag

Workspace Flag

Mr_Leilei

|
3 installs
| (0) | Free
Show a per-workspace label in the left side of the VS Code status bar.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Workspace Flag

Workspace Flag shows a project-specific label in the left side of the VS Code status bar.

What It Does

Open a workspace and Workspace Flag shows a clickable status bar item in the lower-left corner:

  • 点击设置项目标签 when no label exists yet
  • <your label> after you save one

Click the status bar item to edit the label. Submitting an empty value clears it.

Storage

Workspace Flag stores the label inside your workspace:

  • Single-folder workspace: <workspace-root>/WorkSpace/workspace-flag/label.json
  • Saved multi-root workspace: <workspace-file-directory>/WorkSpace/workspace-flag/label.json

The stored JSON is:

{
  "label": "Agent Main Repo"
}

Run Locally

npm install
npm test

Then start an Extension Development Host from .vscode/launch.json or run the Run Workspace Flag launch target in VS Code.

Publish To VS Code Marketplace

This extension is configured for:

  • Publisher ID: MrLeilei
  • Repository: https://github.com/MrWLL/WorkspaceFlag.git

Typical publish flow:

npm install -g @vscode/vsce
vsce login MrLeilei
npm test
npm run package:vsix
vsce publish

If you prefer manual upload, package first and then upload the generated .vsix from the Marketplace publisher management page.

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