Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Path IndicatorNew to Visual Studio Code? Get it now.
Path Indicator

Path Indicator

lmn

|
7 installs
| (1) | Free
Show a custom indicator based on the project path in the top-right corner.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

This is a project path identification tool, used to use path names under different paths in the region

For example, if your project is the same project but has different branches, if you open two projects with vscode at

the same time, it is difficult to distinguish which branch belongs to.

img3_2

img4_2

Configuration 1: The project name and color that can be displayed by specifying the path

    "pathIndicator.paths": [
    {
      "path": "E:/Projects/code",
      "text": "Master",
      "color": "#FF5733"
    },
    {
      "path": "E:/Projects/BranchJp",
      "text": "BranchJp",
      "color": "#FF5733"
    },

Configuration 2: You can set path matching rules

    "pathIndicator.defaultPathMatchs":["/code"]

In this way, when you open a project, you find that the path to the project is E:/Projects/ParentDir/code The project name is ParentDir

Configuration 3: You can set the color of the project name text

    "pathIndicator.defaultColor":"#ffffff"
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft