Skip to content

Remove extra whitespace from labels for unsaved tabs #107979

@bland328

Description

@bland328

Feature suggestion

When VS Code generates a faux "filename" to appear in the tab of a new, unsaved file, I suggest that it would save screen space and eliminate some visual noise if all repeating whitespace characters were collapsed to single spaces.

Example

A new tab is opened and a chunk of logged text with this first line is pasted in:
error      13:47:38.285446-0500      cfprefsd      rejecting write of key(s) kFMFDStoredDataKey

Currently, since the tab doesn't yet have a file name, VS Code labels it like this:
error      13:47:38.285446-0500      cfprefsd      reje

I'm suggesting that runs of whitespace (tabs and spaces, at least) be collapsed to single spaces, making it instead like this:
error 13:47:38.285446-0500 cfprefsd reje

It's easier on the eye and takes less screen real estate without losing (what I see as) actionable information. Thanks for considering!

Metadata

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityhelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code Insidersverification-neededVerification of issue is requestedverifiedVerification succeededworkbench-editorsManaging of editor widgets in workbench window

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions