From 9eb1bc1273e19c03e5fd76dd6aa306bdc6f402b5 Mon Sep 17 00:00:00 2001 From: "Travis C. LaGrone" <22419287+travis-c-lagrone@users.noreply.github.com> Date: Wed, 3 Jul 2019 15:33:38 -0500 Subject: [PATCH] Update '.vscode/settings.json' to identify snippet files as 'JSON with Comments' 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'. --- .vscode/settings.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 03ed221b52..c26f0f0079 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -6,6 +6,11 @@ // Add a visual ruler for the typescript linting line length "editor.rulers": [120], + "files.associations": { + // Use JSONC instead of JSON because (1) that's how VS Code interprets snippet files, and (2) it enables better source documentation. + "**/snippets/*.json": "jsonc" + }, + "search.exclude": { "**/node_modules": true, "**/bower_components": true,