forked from canonical/snapd
-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapd.code-workspace
66 lines (60 loc) · 1.73 KB
/
snapd.code-workspace
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
63
64
65
66
{
"folders": [
{
"path": "."
}
],
"settings": {
// Attributes for the tests invoked directly from go-files in the UI
"go.testEnvVars": {"LANG": "C.UTF-8"},
"go.testFlags": [
"-v",
"-check.v"
],
},
"extensions": {
// Recommended extensions (type @recommended in Extensions tab to list)
"recommendations": [
"golang.go", // Golang extensions
"ms-vscode.cpptools-extension-pack", // C/C++ extensions
// Useful extra extensions, for reference:
//"766b.go-outliner", // Outlines packages that spread over several files
//"jerrygoyal.shortcut-menu-bar", // Menu bar with shortcuts for navigation and editing
//"eamodio.gitlens", // Spectacular git-integration
//"aaron-bond.better-comments", // Decorates comments based on annotations
//"vscodevim.vim", // Vim emulation
//"tuttieee.emacs-mcx", // Emacs emulation
]
},
"launch": {
"version": "0.2.0",
"configurations": [
// Default simple configuration to run tests of the package in the focus
{
"name": "Test (package)",
"type": "go",
"request": "launch",
"mode": "test",
"cwd": "${fileDirname}",
"output": "/tmp/go-build${fileBasenameNoExtension}/${relativeFile}/snap.test",
"program": "${fileDirname}",
"env": {"LANG": "C.UTF-8"},
"args": ["-test.timeout=30m0s"],
},
// Fully verbose configuration to run tests of the package in the focus
{
"name": "Test verbose (package)",
"type": "go",
"request": "launch",
"mode": "test",
"cwd": "${fileDirname}",
"output": "/tmp/go-build${fileBasenameNoExtension}/${relativeFile}/snap.test",
"program": "${fileDirname}",
"env": {
"LANG": "C.UTF-8",
"args": ["-v", "-check.vv", "-test.timeout=30m0s"],
}
},
]
},
}