Skip to content

Commit 172819f

Browse files
travisclagroneTylerLeonhardt
authored andcommitted
Update '.vscode/settings.json' to identify snippet files as 'JSON with Comments' (#2065)
This change is motivated by the need for better source documentation (e.g. which snippet prefixes are for ISE compatibility), and is justified by the fact that VS Code itself identifies snippet files as 'JSON with Comments'.
1 parent 8d8390f commit 172819f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.vscode/settings.json

+5
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
// Add a visual ruler for the typescript linting line length
77
"editor.rulers": [120],
88

9+
"files.associations": {
10+
// Use JSONC instead of JSON because (1) that's how VS Code interprets snippet files, and (2) it enables better source documentation.
11+
"**/snippets/*.json": "jsonc"
12+
},
13+
914
"search.exclude": {
1015
"**/node_modules": true,
1116
"**/bower_components": true,

0 commit comments

Comments
 (0)