From 70fbf5a91bf2809e8e7235b4245526794deac37c Mon Sep 17 00:00:00 2001 From: Julien Moura Date: Fri, 29 Mar 2024 11:13:50 +0100 Subject: [PATCH] tooling: add markdown settings for VS Code --- .vscode/settings.json | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.vscode/settings.json b/.vscode/settings.json index 9157e373..13ce76ba 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -7,12 +7,24 @@ }, // JSON "[json]": { + "editor.defaultFormatter": "vscode.json-language-features", "editor.formatOnSave": true, "editor.quickSuggestions": { "strings": true }, "editor.suggest.insertMode": "replace" }, + // Markdown + "markdown.updateLinksOnFileMove.enabled": "prompt", + "markdown.updateLinksOnFileMove.enableForDirectories": true, + "markdown.validate.enabled": true, + "markdown.validate.fileLinks.markdownFragmentLinks": "warning", + "markdown.validate.fragmentLinks.enabled": "warning", + "[markdown]": { + "editor.defaultFormatter": "DavidAnson.vscode-markdownlint", + "editor.formatOnSave": true, + "files.trimTrailingWhitespace": false, + }, // Python "python.analysis.autoFormatStrings": true, "python.analysis.autoImportCompletions": true,