Skip to content

Add a title variable to show the folder path a file is in #66660

@lodewykk

Description

@lodewykk

Issue Type: Bug

Description:
Recently, the "folderPath" entry ceased showing the entire folder path, instead, showing the path of the top-level open folder.

To Reproduce:

  1. In User Settings > Window: Title > enter "${folderPath}"

Result:
"/Users/Development/myProject"

Expected result:
"/Users/Development/myProject/myFolder"

Example:
Window: Title value:
${dirty}${rootName}${separator}${activeEditorShort}${separator}${folderPath}

Expected title:
dev - ExecutionEnvironmentSection - C:\dev\eclipse.pde.ui\ui\org.eclipse.pde.ui\src\org\eclipse\pde\internal\ui\editor\plugin\ExecutionEnvironmentSection.java

Title Produced:
dev - ExecutionEnvironmentSection - C:\dev

Example image: https://i.imgur.com/eZ1qJkt.png

VS Code version: Code 1.30.2 (61122f8, 2019-01-07T22:54:13.295Z)
OS version: Windows_NT x64 10.0.17763

System Info
Item Value
CPUs Intel(R) Core(TM) i7-6820HQ CPU @ 2.70GHz (8 x 2712)
GPU Status 2d_canvas: unavailable_software
checker_imaging: disabled_off
flash_3d: unavailable_software
flash_stage3d: unavailable_software
flash_stage3d_baseline: unavailable_software
gpu_compositing: unavailable_software
multiple_raster_threads: enabled_on
native_gpu_memory_buffers: disabled_software
rasterization: unavailable_software
video_decode: unavailable_software
video_encode: unavailable_software
webgl: enabled_readback
webgl2: unavailable_off
Memory (System) 31.90GB (5.37GB free)
Process Argv
Screen Reader no
VM 0%
Extensions (9)
Extension Author (truncated) Version
mssql ms- 1.4.0
PowerShell ms- 1.10.2
proto pet 0.0.2
java red 0.36.0
vscode-java-debug vsc 0.16.0
vscode-java-dependency vsc 0.3.0
vscode-java-pack vsc 0.5.0
vscode-java-test vsc 0.13.0
vscode-maven vsc 0.13.0

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiestitlebarVS Code main title bar issuesverification-neededVerification of issue is requestedverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions