From 6235fa6bc8e9857431358b815d6f3dd0a8f5d097 Mon Sep 17 00:00:00 2001 From: "sh.gazgireev" Date: Sun, 10 Nov 2019 15:14:09 +0300 Subject: [PATCH] site: add instructions on adding file associations for VSCode. --- site/content/blog/2019-04-15-setting-up-your-editor.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/site/content/blog/2019-04-15-setting-up-your-editor.md b/site/content/blog/2019-04-15-setting-up-your-editor.md index 1db85a7974..394a33d219 100644 --- a/site/content/blog/2019-04-15-setting-up-your-editor.md +++ b/site/content/blog/2019-04-15-setting-up-your-editor.md @@ -45,3 +45,13 @@ To set the filetype for a single file, use a [modeline](https://vim.fandom.com/w ``` ``` + +## Visual Studio Code + +To treat `*.svelte` files as HTML, add the following lines to your `settings.json` file: + +```cson + "files.associations": { + "*.svelte": "html" + } +``` \ No newline at end of file