Skip to content
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

New line support in labels and workbench.editor.customLabels.patterns setting #209701

Open
benmccann opened this issue Apr 6, 2024 · 3 comments
Assignees
Labels
feature-request Request for new features or functionality workbench-tabs VS Code editor tab issues
Milestone

Comments

@benmccann
Copy link
Contributor

The new setting workbench.editor.customLabels.patterns was just released (docs). I'm a maintainer of Svelte/SvelteKit and we're updating the Svelte VS Code extension to ensure users benefit from this new setting (sveltejs/language-tools#2330). We would love to be able to use a new line in that setting to create a label using two lines at shown below

vscode

Originally suggested in a highly upvoted comment #41909 (comment). Filing this as a new issue per @benibenj's suggestions

@hediet hediet assigned benibenj and unassigned hediet Apr 6, 2024
@benibenj benibenj added this to the Backlog milestone Apr 17, 2024
@benibenj benibenj added feature-request Request for new features or functionality workbench-tabs VS Code editor tab issues labels Apr 17, 2024
@benibenj
Copy link
Contributor

benibenj commented Apr 17, 2024

@benmccann What is the main goal of having the name span two lines?

What if you would be able to specify the description of the label? Would that help solve your goal? The description is ...\tree in this example:
image

@leonardsimonse
Copy link

I appreciate @benmccann's proposal because it uses less horizontal space and more vertical space. In the case where SvelteKit is used, it's very common to have a large number of tabs open, because of the +page.svelte, +page..ts, +layout.svelte, +layout..ts combinations.

@willlma
Copy link

willlma commented Apr 18, 2024

@benibenj I think being able to specify the description of the label would definitely be a step in the right direction.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality workbench-tabs VS Code editor tab issues
Projects
None yet
Development

No branches or pull requests

6 participants