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