-
Notifications
You must be signed in to change notification settings - Fork 27.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Untitled-x to the title attribute of Untitled files #89921
Comments
(Experimental duplicate detection) |
@IllusionMH to be clear you are asking for having the |
Yeah, maybe we could use a dot as separator, similar to how we do it for multi root labels. |
Verification: hover over an untitled editor tab and verify:
|
@IllusionMH can you verify from insiders? Then I can set the verified label. |
@bpasero sorry - missed this one. Editor tabs and Open editors entries have expected title. However noticed that display of tile looks strange if there are no words in first line: With words (Untitle-1 in description, looks good) No words ( Is it intended? Can |
Thanks, I will check this out. |
Thanks, adding verified label thereby. |
With recent changes Untitled files display first line content as editor tab name and Untitled-x as description, however title attribute only contains first line content.
And while Untitled-x as description helps to avoid ambiguity between tabs with same first line content, it is impossible to rely on title in case when I have
"workbench.editor.tabSizing": "shrink"
or in Open Editors section.It can be
import React from 'react'; - Untitled-2
(using same separator as in window title) or something likeUntitled-2: import React from 'react';
(may beUntitled-2 editor: import React from 'react';
)Editor tabs for saved files have full path to file which helps to avoid ambiguity.
/cc @bpasero
The text was updated successfully, but these errors were encountered: