Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>VSCode Window Title ExtrasNew to Visual Studio Code? Get it now.
VSCode Window Title Extras

VSCode Window Title Extras

MattIPv4

|
3 installs
| (0) | Free
VSCode extension that provides additional window title variables.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode Window Title Extras

VSCode extension that provides additional window title variables.

The following variables are exposed by this extension for use in window.title:

  • ${parentPath}: file path of the parent folder to the current workspace folder (e.g. /Users/Development).
  • ${parentName}: name of the parent folder to the current workspace folder (e.g. Development).

Development

0. Prerequisites

  • Node (see .nvmrc; fnm/nvm recommended)
  • VSCode

1. Download the project

git clone git@github.com:MattIPv4/vscode-window-title-extras.git

2. Install dependencies

npm ci

3. Build the project

# Build once
npm run build

# Build and watch for changes
npm run watch

4. Run the extension

Use F5 or Debug: Start Debugging in the command palette to run the extension in a new VSCode window. In the new window, open the workspace (or user) settings and set the window.title to test the functionality of the extension. For example:

{
  "window.title": "${parentName}/${folderName}"
}

In the host window, you can open the Run Extension debug console (Debug: Select Debug Console in the command palette) to see the output of the extension.

5. Package the extension

You can also test the extension against your local VSCode installation. To do this, the extension must be packaged with the vsce tool:

npx vsce package

This will create a .vsix file in the root of the project. You can then install this file in your local VSCode installation by running the following command:

code --install-extension <path-to-vsix-file>

Once installed, restart VSCode (or invoke Developer: Reload Window in the command palette) to start using the extension.

Release

1. Update the version

npm version <major|minor|patch>

2. Create Azure DevOps token

  • Access the Azure DevOps portal.
  • Go to User settings > Personal access tokens (https://dev.azure.com/<org>/_usersSettings/tokens)
  • Create a new token with the Marketplace: Manage scope.

3. Publish the extension

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