-
Notifications
You must be signed in to change notification settings - Fork 39.7k
Request: ${rootNameShort} for Window Titles #145238
Copy link
Copy link
Closed
Labels
author-verification-requestedIssues potentially verifiable by issue authorIssues potentially verifiable by issue authorfeature-requestRequest for new features or functionalityRequest for new features or functionalitygood first issueIssues identified as good for first-time contributorsIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderstitlebarVS Code main title bar issuesVS Code main title bar issuesverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeededworkbench-multirootMulti-root (multiple folders) issuesMulti-root (multiple folders) issues
Milestone
Metadata
Metadata
Assignees
Labels
author-verification-requestedIssues potentially verifiable by issue authorIssues potentially verifiable by issue authorfeature-requestRequest for new features or functionalityRequest for new features or functionalitygood first issueIssues identified as good for first-time contributorsIssues identified as good for first-time contributorshelp wantedIssues identified as good community contribution opportunitiesIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code InsidersPatch has been released in VS Code InsiderstitlebarVS Code main title bar issuesVS Code main title bar issuesverification-neededVerification of issue is requestedVerification of issue is requestedverifiedVerification succeededVerification succeededworkbench-multirootMulti-root (multiple folders) issuesMulti-root (multiple folders) issues
On all platforms, the
${rootName}Window Title variable includes " (Workspace)", and when using Remotes like WSL, the variable also includes something like " [WSL: Ubuntu]". It would be useful to have a shorter variant with just the Workspace name, so instead of "wsName (Workspace) [WSL: Ubuntu]" we could have "wsName".I frequently have several Workspaces open and use Workspace names to distinguish between open windows in the Windows Task Bar/View and macOS Mission Control/Exposé. The extra characters describing the Workspace often cause the OS to truncate the visible window title, hiding other useful information. The
window.titleproperty allows customization, but putting the Workspace first often sacrifices filename visibility for Workspace metadata.Since we already have access to
${remoteName}, perhaps other Workspace component names could also be added?Current:
${rootName}- wsName (Workspace) [WSL: Ubuntu]${remoteName}- WSL: UbuntuProposed:
${rootNameShort}- wsName${rootIdentifier}- Workspace // (similar to${separator}With those two variables defined,
${rootName}could then be expressed as${rootNameShort} (${rootIdentifier}) [${remoteName}]