From 877cacb45152d903e1933ec2fe08351064250c76 Mon Sep 17 00:00:00 2001 From: Kai Schlamp Date: Mon, 5 Feb 2024 17:13:16 +0000 Subject: [PATCH] Cleanup VS Code settings file --- .vscode/settings.json | 47 ++++++++++++++++++++++++++----------------- 1 file changed, 28 insertions(+), 19 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index 6c31e840..94f21d28 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,43 +1,53 @@ { + "cSpell.diagnosticLevel": "Hint", + "docker.containers.label": "ContainerName", "editor.formatOnSave": true, + "javascript.validate.enable": true, + "js/ts.implicitProjectConfig.checkJs": true, "python.analysis.typeCheckingMode": "off", "python.defaultInterpreterPath": "${workspaceFolder}/.venv/bin/python", - "python.testing.pytestEnabled": true, "python.testing.pytestArgs": ["radis"], + "python.testing.pytestEnabled": true, "python.testing.unittestEnabled": false, - "docker.containers.label": "ContainerName", - "javascript.validate.enable": true, - "cSpell.diagnosticLevel": "Hint", - "[python]": { - "editor.defaultFormatter": "ms-python.black-formatter", - "editor.codeActionsOnSave": { - "source.organizeImports": "explicit" - } - }, - "[typescript]": { + "[css]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, "[javascript]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, - "[jsonc]": { - "editor.defaultFormatter": "esbenp.prettier-vscode" - }, "[json]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, - "[markdown]": { + "[jsonc]": { "editor.defaultFormatter": "esbenp.prettier-vscode" }, - "[dockerfile]": { + "[dockercompose]": { "editor.defaultFormatter": "ms-azuretools.vscode-docker" }, - "[dockercompose]": { + "[dockerfile]": { "editor.defaultFormatter": "ms-azuretools.vscode-docker" }, "[html][django-html]": { "editor.defaultFormatter": "monosans.djlint" }, + "[markdown]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[python]": { + "editor.defaultFormatter": "ms-python.black-formatter", + "editor.codeActionsOnSave": { + "source.organizeImports": "explicit" + } + }, + "[toml]": { + "editor.defaultFormatter": "tamasfe.even-better-toml" + }, + "[typescript]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, + "[yaml]": { + "editor.defaultFormatter": "esbenp.prettier-vscode" + }, "auto-close-tag.activationOnLanguage": [ "django-html", "xml", @@ -59,6 +69,5 @@ "HTML (EEx)", "HTML (Eex)", "plist" - ], - "js/ts.implicitProjectConfig.checkJs": true + ] }