Skip to content

Commit

Permalink
chore: add workspace specific settings for vscode
Browse files Browse the repository at this point in the history
  • Loading branch information
masl committed Nov 4, 2023
1 parent 393604b commit 9b99ccc
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": "0.2.0",
"configurations": [
{
"name": "Debug main package",
"type": "go",
"request": "launch",
"mode": "auto",
"program": "main.go"
}
]
}
11 changes: 11 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -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"
},
}

0 comments on commit 9b99ccc

Please sign in to comment.