You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
8a5263d package.json: update gopls settings for v0.7.5
e79a488 test: fix default go.delveConfig test
ffc9238 tools: fix gopls update tool generation
5bfc2aa build/all.bash: fix jq query to change hideSystemGoroutines default
0c7a9c4 CHANGELOG.md: Update CHANGELOG.md for release
4ef6379 src/goToolsInformation: update latest gopls prerelease version
aae8322 package.json: use defaults from package.json for delveConfig
4667012 package.json: change go template file language id to gotmpl
7cabf78 src/goBrowsePackage.ts: use async function syntax
5a7c4f7 build,docs: remove references to all.bash setup_env
9fce485 package.json: pin direct dependencies
a22f335 docs/contributing.md: encourage npm ci instead of npm install
3e64075 test: use @vscode/test-electron instead of vscode-test
c2fcb4e go.mod: update imports to latest versions
a0af37b test: increase sleep time to wait for dlv cleanup
b65133f goDebug.test.ts: stat for output file multiple times
62db19c goDebug.test.ts: update switch goroutine test
d2c9293 tools/generate.go: fix default value formatting for []string types
85f1be0 test: disable should cleanup when stopped
7abeb7a package.json: use 'console' enums consistent with other extensions
1fa51bc package.json: add description of 'console' and 'asRoot'
8d2a31f src/goDebugFactory,goDebugConfiguration: adjust env computation
a807c61 src/goDebugFactory: add support for `asRoot` property
c4f5c25 test: disable switch goroutine tests
c132833 src/goDebugConfiguration: use 'dlv' instead of 'dlv-dap' binary
094f345 debugging.md: note that 'go build', not 'go run' must be used with dlv
943ff11 src/goDebugFactory: support integrated/external console
f4e5154 src/goDebugFactory: start dlv-dap lazily
cd0a462 src/goDebugFactory: use --client-addr when console=integrated/external
f4aa041 debugging.md: add a note about using --continue with remote server
f4f07b0 test: remove unused dlvDapSkipsEnabled variable
143b6d9 workflow: enable tests with go1.18beta1
691e15f src/goDebugFactory: improve start-up and session fail messages for remote dlv-dap
25af90d src/goTest: fix output for subtests
944fbf7 src/goTest: don't resolve tests in virtual files
1dc72ce test: enable substitutePath tests for remote dlv-dap
efdf4bf test: enable disconnect remote dlv-dap test
bccac79 test: enable remote set breakpoints tests
6de4255 test: enable basic remote tests
482381f test: enable unknown request test
1395952 README.md: update debugging video link
08dacee src/goStatus: assign id/name to each status bar item
8c3683f README: add link to GopherCon Debugging Treasure Hunt presentation
e81d440 package.json: start v0.31.0 dev
f5e6bec package.json: update gopls settings
Change-Id: Ic032bf88783beea865c24398a3582b1b133f02a0
- Recommend that contributers use npm ci instead of npm install when developing vscode-go ([Issue 2010](https://github.com/golang/vscode-go/issues/2010)) <!-- CL 379154 -->
25
+
- test: use @vscode/test-electron instead of vscode-test <!-- CL 377336 -->
Thank you for your contribution, @firelizzard18, @hyangah, @jamalc, @polinasok, @TheNagaPraneeth, @suzmue!
33
+
1
34
## v0.30.0 - 16 Dec, 2021
2
35
3
36
A list of all issues and changes can be found in the [v0.30.0 milestone](https://github.com/golang/vscode-go/milestone/40) and [commit history](https://github.com/golang/vscode-go/compare/v0.29.0...v0.30.0).
Copy file name to clipboardExpand all lines: README.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,8 @@ We recommend switching your remote attach configurations in `launch.json` to use
16
16
`"debugAdapter":"dlv-dap"` now to verify that this works for you.
17
17
Please [file a new issue](https://github.com/golang/vscode-go/issues/new/choose) if you encounter any problems.
18
18
19
+
📣📣 Watch [Debugging Treasure Hunt](https://youtu.be/ZPIPPRjwg7Q) from [GopherCon 2021](https://www.gophercon.com/) for a fun take on a debugging demo with VS Code Go and Delve DAP.
Copy file name to clipboardExpand all lines: docs/contributing.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,12 +35,12 @@ Please note that extra configuration is required to build and run the [Debug Ada
35
35
### Setup
36
36
37
37
1) Install [node](https://nodejs.org/en/). Note: make sure that you are using `npm v7` or higher. The file format for `package-lock.json` (changed significantly)[https://docs.npmjs.com/cli/v7/configuring-npm/package-lock-json#file-format] in `npm v7`.
38
-
2) Clone the repository, run `npm install`, and open VS Code:
38
+
2) Clone the repository, run `npm ci`, and open VS Code:
39
39
40
40
```bash
41
41
git clone https://go.googlesource.com/vscode-go
42
42
cd vscode-go
43
-
npm install
43
+
npm ci
44
44
code .
45
45
```
46
46
@@ -64,11 +64,11 @@ If you make subsequent edits in the codebase, you can reload (`Ctrl+R`) the `[Ex
64
64
65
65
Simple unit tests that do not require interaction with VS Code are located in`test/unit`.
66
66
Tests in`test/integration` and `test/gopls` directories are integration tests. They involve invocation of the VS Code API and
67
-
require external Go tools installed in`GOPATH`. The command`setup_env`in [`build/all.bash`](https://github.com/golang/vscode-go/blob/master/build/all.bash)
67
+
require external Go tools installed in`GOPATH`. The command`installtools`in [`tools/installtools/main.go`](https://github.com/golang/vscode-go/blob/master/tools/installtools/main.go)
68
68
installs all the tool dependencies in`GOPATH`.
69
69
70
70
1. `export GOPATH=/path/to/gopath/for/test`
71
-
1. `build/all.bash setup_env`
71
+
1. `go run tools/installtools/main.go`
72
72
1. Unfortunately, VS Code test framework inherits your user settings when running tests [Issue 43](https://github.com/golang/vscode-go/issues/43). Make sure VS Code user settings do not contain any go related configuration, except `go.gopath` or `go.toolsGopath`incase you installed the tools fortestingin a different `GOPATH`.
73
73
74
74
There are currently three test launch configurations: (1) `Launch Extension Tests`, (2) `Launch Extension Tests with Gopls`, and (3) `Launch Unit Tests`. To run the tests locally, open the Run view (`Ctrl+Shift+D`), selectthe relevant launch configuration, and hit the Play button (`F5`).
@@ -79,13 +79,13 @@ After making changes to the extension, you may want to test it end-to-end instea
79
79
80
80
1. Install the [vsce](https://code.visualstudio.com/api/working-with-extensions/publishing-extension#vsce) tool for packaging extensions (`npm install -g vsce`).
81
81
2. `cd` into your `vscode-go` directory.
82
-
3. Install all dependencies by running `npm install`.
82
+
3. Install all dependencies by running `npm ci`.
83
83
4. Run `vsce package`. This will generate a file with a `.vsix` extension in your current directory.
0 commit comments