Open ethanfox opened 1 year ago
you could try setting the short
setting for labelFormat
: https://stackoverflow.com/questions/54354775/visual-studio-code-how-do-i-display-the-file-directory-in-the-tab-for-all-files#54354948
VS Code does not expose an API to allow to to handle this in the Svelte VS Code plugin: https://github.com/microsoft/vscode/issues/41909
you could try setting the
short
ormedium
setting forlabelFormat
: https://stackoverflow.com/questions/54354775/visual-studio-code-how-do-i-display-the-file-directory-in-the-tab-for-all-files#54354948VS Code does not expose an API to allow to to handle this in the Svelte VS Code plugin
Tragic. Just thought it would be cool to have. Not a big deal.
Labeling this as 'documentation' so that we can mention the workbench.editor.labelFormat
setting somewhere, possibly in https://kit.svelte.dev/docs/creating-a-project#editor-setup
There's a new workbench.editor.customLabels.patterns
setting that can be used. We should perhaps wait until it hits stable to document it, but I'd love to get feedback on it: https://twitter.com/BenjaminMcCann/status/1770847155739144487
Do we still need to document this if we can include it by default when the Svelte VS Code extension is installed? https://github.com/sveltejs/language-tools/pull/2330
Describe the problem
Whenever I'm working on my svelteKit project all of that tabs have "+page.svelte" at the top with their parent folder in smaller letters. e.g.
Describe the proposed solution
It would be great if there were a way for the parent folder to show up larger and "+page.svelte" to be smaller as it's not that important. e.g.
The plugin would have to be able to understand how a sveltekit project could be structured.
Importance
nice to have
Additional Information
No response