vscode config

This commit is contained in:
James Tombleson 2024-04-14 18:37:12 -07:00
parent 9d88d649d1
commit 68c44812d8
2 changed files with 22 additions and 0 deletions

15
.vscode/launch.json vendored Normal file
View File

@ -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"
}
]
}

View File

@ -1,6 +1,13 @@
{ {
"editor.formatOnSave": true,
"[templ]": {
"editor.defaultFormatter": "a-h.templ"
},
"files.exclude": { "files.exclude": {
"**/*_templ.go": true, "**/*_templ.go": true,
"**/*_templ.txt": true "**/*_templ.txt": true
},
"emmet.includeLanguages": {
"templ": "html"
} }
} }