-
-
Notifications
You must be signed in to change notification settings - Fork 233
feat: add editor label and formatter configuration defaults #2330
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
base: master
Are you sure you want to change the base?
Changes from 7 commits
facb038
585b900
f84d84c
126191b
bf06372
9bd3dca
89d8c86
d227c9a
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -415,6 +415,17 @@ | |||||||||||||
| } | ||||||||||||||
| } | ||||||||||||||
| }, | ||||||||||||||
| "configurationDefaults": { | ||||||||||||||
| "[svelte]": { | ||||||||||||||
| "editor.defaultFormatter": "svelte.svelte-vscode" | ||||||||||||||
| }, | ||||||||||||||
teemingc marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||||||||||||||
| "workbench.editor.customLabels.patterns": { | ||||||||||||||
| "**/src/routes/+[layout|page|server|error]*": "/${filename}.${extname}", | ||||||||||||||
| "**/src/routes/*/+[layout|page|server|error]*": "/${dirname}/${filename}.${extname}", | ||||||||||||||
| "**/src/routes/*/*/**/+[layout|page|server|error]*": ".../${dirname}/${filename}.${extname}", | ||||||||||||||
| "**/+[layout|page|server|error]*": "${dirname}/${filename}.${extname}" | ||||||||||||||
|
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Alternative which shows pathname then file in paranthesis
Suggested change
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Personally, I've been using |
||||||||||||||
| } | ||||||||||||||
| }, | ||||||||||||||
| "languages": [ | ||||||||||||||
| { | ||||||||||||||
| "id": "svelte", | ||||||||||||||
|
|
||||||||||||||
Uh oh!
There was an error while loading. Please reload this page.