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

Workspace Watchdog

deitry

|
1,741 installs
| (0) | Free
Applies different background color to files outside workspace
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Workspace Watchdog

Helps you to understand where you are right now - by changing text background color in files outside your workspace folder.

Example

For example, you do not want to mess code from ./src/ with ./src/tmp/:

  • settings.json:
    "workspaceWatchdog.backgroundColor": "rgba(80,40,50,1)",
    "workspaceWatchdog.excludeFolders": [
        "./src/tmp/",
    ]
  • These are how your open editors will look like:

Usage

By default, all files outside your workspace folder will be highlighted. However, you can manually enter folders that you want to be highlighted through workspaceWatchdog.excludeFolders or change your allowlist through workspaceWatchdog.includeFolders.

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