feat: Add VS Code settings, tasks, and troubleshooting documentation for Go development

This commit is contained in:
GitHub Actions
2025-12-08 01:04:26 +00:00
parent 1b6751a651
commit 6a17dc6387
12 changed files with 547 additions and 62 deletions
+31
View File
@@ -17,6 +17,37 @@
"group": "test",
"problemMatcher": []
},
{
"label": "Go: Build Backend",
"type": "shell",
"command": "bash",
"args": ["-lc", "cd backend && go build ./..."],
"group": { "kind": "build", "isDefault": true },
"presentation": { "reveal": "always", "panel": "shared" },
"problemMatcher": ["$go"]
},
{
"label": "Go: Test Backend",
"type": "shell",
"command": "bash",
"args": ["-lc", "cd backend && go test ./... -v"],
"group": "test",
"presentation": { "reveal": "always", "panel": "shared" }
},
{
"label": "Go: Mod Tidy (Backend)",
"type": "shell",
"command": "bash",
"args": ["-lc", "cd backend && go mod tidy"],
"presentation": { "reveal": "silent", "panel": "shared" }
},
{
"label": "Gather gopls logs",
"type": "shell",
"command": "bash",
"args": ["-lc", "./scripts/gopls_collect.sh"],
"presentation": { "reveal": "always", "panel": "new" }
},
{
"label": "Git Remove Cached",
"type": "shell",