-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.json
More file actions
63 lines (62 loc) · 1.86 KB
/
settings.json
File metadata and controls
63 lines (62 loc) · 1.86 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
{
"chat.promptFilesRecommendations": {
"speckit.constitution": true,
"speckit.specify": true,
"speckit.plan": true,
"speckit.tasks": true,
"speckit.implement": true
},
"chat.tools.terminal.autoApprove": {
".specify/scripts/bash/": true,
".specify/scripts/powershell/": true
},
// CGO configuration for pgcov
// pg_query_go requires CGO to be enabled
"go.toolsEnvVars": {
"CGO_ENABLED": "1",
"CC": "C:\\msys64\\mingw64\\bin\\gcc.exe"
},
// Expose CGO environment to integrated terminal (Windows)
"terminal.integrated.env.windows": {
"CGO_ENABLED": "1",
"CC": "C:\\msys64\\mingw64\\bin\\gcc.exe",
"PATH": "${env:PATH};C:\\msys64\\mingw64\\bin"
},
// Expose CGO environment to integrated terminal (Linux)
"terminal.integrated.env.linux": {
"CGO_ENABLED": "1"
},
// Expose CGO environment to integrated terminal (macOS)
"terminal.integrated.env.osx": {
"CGO_ENABLED": "1"
},
// Go language server (gopls) settings
"gopls": {
"build.env": {
"CGO_ENABLED": "1",
"CC": "C:\\msys64\\mingw64\\bin\\gcc.exe"
}
},
// Go extension debugging configuration
"go.delveConfig": {
"apiVersion": 2,
"showGlobalVariables": true
},
// Ensure Go test runner uses CGO
"go.testEnvVars": {
"CGO_ENABLED": "1",
"CC": "C:\\msys64\\mingw64\\bin\\gcc.exe",
"PATH": "${env:PATH};C:\\msys64\\mingw64\\bin"
},
// Go build tags and flags
"go.buildTags": "",
"go.buildFlags": ["-ldflags", "-s -w"],
"go.testFlags": ["-v"],
"go.testTimeout": "300s",
// Additional settings to help with debugging
"go.useLanguageServer": true,
"go.alternateTools": {},
"go.enableCodeLens": {
"runtest": true
}
}