From 9b99cccf7f883de4c03316ebc44a5f5476582cba Mon Sep 17 00:00:00 2001 From: masl Date: Sat, 4 Nov 2023 19:24:45 +0100 Subject: [PATCH] chore: add workspace specific settings for vscode --- .vscode/launch.json | 12 ++++++++++++ .vscode/settings.json | 11 +++++++++++ 2 files changed, 23 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..dc817bd --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,12 @@ +{ + "version": "0.2.0", + "configurations": [ + { + "name": "Debug main package", + "type": "go", + "request": "launch", + "mode": "auto", + "program": "main.go" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..e1a73b3 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,11 @@ +{ + // use django-html for html files to prevent errors using template literals (interim solution) + "files.associations": { + "*.html": "django-html" + }, + + // use go formatter for go files + "[go]": { + "editor.defaultFormatter": "golang.go" + }, +} \ No newline at end of file