From 68c44812d85b0ee781c91eaef900acaf86c87ff8 Mon Sep 17 00:00:00 2001 From: James Tombleson Date: Sun, 14 Apr 2024 18:37:12 -0700 Subject: [PATCH] vscode config --- .vscode/launch.json | 15 +++++++++++++++ .vscode/settings.json | 7 +++++++ 2 files changed, 22 insertions(+) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..b1258dc --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,15 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": "Launch file", + "type": "go", + "request": "launch", + "mode": "debug", + "program": "cmd/main.go" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index 1d914e3..276f6bf 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,13 @@ { + "editor.formatOnSave": true, + "[templ]": { + "editor.defaultFormatter": "a-h.templ" + }, "files.exclude": { "**/*_templ.go": true, "**/*_templ.txt": true + }, + "emmet.includeLanguages": { + "templ": "html" } } \ No newline at end of file