Change:
<!-- Do Not Delete This! featurerequesttemplate --<!-- Please read our Rules of Conduct: --<!-- Please search existing issues to avoid creating duplicates. --<!-- Describe the feature you'd like. --I usually give a meaningful name to my folders in the workspace config file, like this: It would be very useful if the integrated terminal title could show this name instead of the folder name. Currently these variables can be used in the property: ${cwd} ${cwdFolder} ${workspaceFolder} ${local} ${process} ${separator} ${sequence} ${task} The refers to the property of the folder. There could be a new variable, or something like that. Thank you in advance! Keep up the good work!
<!-- -96bd-47a8-a0e8- --This feature request is now a candidate for our backlog. The community has 60 days to the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our . Happy Coding!
If this just needs to point at it should be trivial to add:
Is this still in the backlog for a future release? It would be very useful for accessibility platforms like talon voice where we rely on parsing context information out of the window title.

Discussion:
interface ITerminalLabelTemplateProperties { cwd?: string | null | undefined; cwdFolder?: string | null | undefined; <ins> workspaceFolderName?: string | null | undefined; </ins> workspaceFolder?: string | null | undefined; local?: string | null | undefined; process?: string | null | undefined;

const templateProperties: ITerminalLabelTemplateProperties = { cwd: instance.cwd || instance.initialCwd || '', cwdFolder: '', <ins> workspaceFolderName: instance.workspaceFolder?.name, </ins> workspaceFolder: instance.workspaceFolder ? path.basename(instance.workspaceFolder.uri.fsPath) : undefined, local: type === 'Local' ? terminalStrings.typeLocal : undefined, process: instance.processName,

: (instance.fixedRows ? `u2195${instance.fixedRows}` : ''), separator: { label: this._terminalConfigurationService.config.tabs.separator } }; <ins> templateProperties.workspaceFolderName = instance.workspaceFolder?.name ?? templateProperties.workspaceFolder; </ins> labelTemplate = labelTemplate.trim(); if (!labelTemplate) { return labelType === TerminalLabelType.Title ? (instance.processName || '') : '';

showCwd = cwdUri.fsPath.localeCompare(instance.workspaceFolder.uri.fsPath, undefined, { sensitivity: caseSensitive ? 'case' : 'base' }) !== 0; } if (showCwd) { templateProperties.cwdFolder = path.basename(templateProperties.cwd); } }

'`${cwd}`: ' + localize("cwd", "the terminal's current working directory"), '`${cwdFolder}`: ' + localize('cwdFolder', "the terminal's current working directory, displayed for multi-root workspaces or in a single root workspace when the value differs from the initial working directory. On Windows, this will only be displayed when shell integration is enabled."), '`${workspaceFolder}`: ' + localize('workspaceFolder', "the workspace in which the terminal was launched"), <ins> '`${workspaceFolderName}`: ' + localize('workspaceFolderName', "the `name` of the workspace in which the terminal was launched"), </ins> '`${local}`: ' + localize('local', "indicates a local terminal in a remote workspace"), '`${process}`: ' + localize('process', "the name of the terminal process"), '`${separator}`: ' + localize('separator', "a conditional separator {0} that only shows when surrounded by variables with values or static text.", '(` - `)'),