Skip to content

Make file explorer title respect associated workspace folder capitalization - #325013

Merged
Hawk Ticehurst (hawkticehurst) merged 1 commit into
mainfrom
agents/vscode-file-explorer-title-casing
Jul 8, 2026
Merged

Hawk Ticehurst (hawkticehurst) merged 1 commit into
mainfrom
agents/vscode-file-explorer-title-casing

Conversation

@hawkticehurst

Copy link
Copy Markdown
Member

Fixes #324642

File explorer view title will now perfectly reflect the capitalization used by the associated workspace folder.

Screenshot 2026-07-08 at 2 43 17 PM

Copilot AI review requested due to automatic review settings July 8, 2026 18:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes #324642 by making the File Explorer view title reflect the real casing of the associated workspace/folder name instead of the modernized default (capitalize). Previously only the pane-header rendering of the explorer title respected the source casing; the sidebar part title (which displays the folder/workspace name) was still being title-cased by the base rule. It's a small, well-scoped CSS-only change in the styleOverrides media stylesheet, which is gated behind the .style-override ancestor class (Modern UI).

Changes:

  • Added a new selector targeting the File Explorer part title (.part:not(.editor):has(> .content > .composite.explorer-viewlet) > .title > .title-label h2) with text-transform: none, so the folder/workspace name renders with its original casing.
  • Reworded the accompanying explanatory comment ("File Explorer titles" instead of "File Explorer root header").

@hawkticehurst
Hawk Ticehurst (hawkticehurst) merged commit a95a43d into main Jul 8, 2026
30 checks passed
@hawkticehurst
Hawk Ticehurst (hawkticehurst) deleted the agents/vscode-file-explorer-title-casing branch July 8, 2026 19:20
@vs-code-engineering vs-code-engineering Bot added this to the 1.129.0 milestone Jul 8, 2026
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators Aug 22, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Modernize: Make file explorer title respect folder title casing

3 participants