Skip to content

Commit 3310368

Browse files
jakebaileysnovader
authored andcommitted
Make formatting settings in settings template apply to all filetypes (microsoft#55419)
1 parent 69eeead commit 3310368

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

.vscode/settings.template.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
// To use the locally built compiler, after 'npm run build':
55
// "typescript.tsdk": "built/local"
66

7-
"[typescript][javascript][yaml]": {
8-
"editor.formatOnSave": true,
9-
"editor.defaultFormatter": "dprint.dprint"
10-
},
7+
// Enables dprint formatting on all supported files. Setting this as the
8+
// default for all file types is safe as dprint will just ignore any file
9+
// it doesn't support or has explicitly excluded in .dprint.jsonc.
10+
"editor.defaultFormatter": "dprint.dprint",
11+
"editor.formatOnSave": true,
1112

1213
// To ignore commits listed in .git-blame-ignore-revs in GitLens:
1314
"gitlens.advanced.blame.customArguments": [

0 commit comments

Comments
 (0)