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
ce9ddf8 CHANGELOG.md: draft v0.36.0 release note
7055f45 docs/features: add "Go Test: Profile" feature screenshot
2352869 test/gopls: add time out in language client stop
40074a4 src/goToolsInformation: update gopls latest version
67e3a26 src/language/goLanguageServer: fix signature help trigger injection
318539d src/goTest/profile: fix tree view action
02fafd6 src/goMain: show warning message about go.enableCodeLens.references
8c40422 tools: update golangci-lint default version to v1.50.1
82cad22 package.json: update [email protected]bf5789c vscode-go: remove the 'references' codelens
ea6fed7 tools/goplssetting: trim space after generating package.json
2918cb4 src/goToolsInformation: fix go-outline version
2e739cc package.json: update gopls settings to match v0.10.0-pre.1
2a6a178 src/goTools: remove unneeded import
4f3a371 src/goTools: specify gofumpt/golangci-lint versions for old go
fc6d532 snippet/go.json: add code snippet for variable block
1ccf637 src/goToolsInformation: update gopls latest version
8253459 src/goInstallTools.ts: install tools command UI displays pinned versions
23f22eb docs: update docs for pinned command-line tools
8d7fc9a src/goToolsInformation.ts: pin all third party tool versions
3063e68 src/goVulncheck: copy codicon resources to media
f39f7ed src/goVulncheck: add "Current Module" option
62516a4 media/vulncheckView: use codicons to distinguish severity
cf7c1cc package.json: rename vulncheck command
17f6b7a media/vulncheckView.js: simplify the run log section.
8cef5ae media/vulncheckView: organize unaffecting vulns by vuln ids
4b658d3 src/goVulncheck: add feedback link
4b6ce1f all: fix some typos
c41fb17 README.md: Clean up of README sections, link fix
4298b52 src/goTest: open debug repl when running debug test
Change-Id: Ia50aac58cf1167d2c99b0f42ed3ed3b17d900205
Copy file name to clipboardExpand all lines: CHANGELOG.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,21 @@
1
+
## v0.36.0 - 4 Nov, 2022
2
+
A list of all issues and changes can be found in the [v0.36.0 milestone](https://github.com/golang/vscode-go/milestone/52) and [commit history](https://github.com/golang/vscode-go/compare/v0.35.2...v0.36.0).
3
+
4
+
### Changes
5
+
- From this release, the extension will download specific versions of 3rd party tools installed with the "Go: Install/Update Tools" command. This is to enhance stability and security. The "Go: Install/Upate Tools" command will present the versions the extension will install. To install a different version of a tool, use `go install` command from the terminal instead. ([Issue 1850](https://github.com/golang/vscode-go/issues/1850))
6
+
- The default gopls version was updated to v0.10.1 and the settings were updated accordingly. See the [release note of gopls v0.10.0](https://github.com/golang/tools/releases/tag/gopls%2Fv0.10.0) to learn about notable changes and new features.
7
+
- Typing `vars` will now offer a completion snippet that expands it to a `var (...)` block containing multiple variables. ([PR 2481](https://github.com/golang/vscode-go/pull/2481))
8
+
- The setting to enable the "references" codelens, `go.enableCodeLens.references`, is now hidden. The feature remained broken for a while, so we plan to remove it in a future release. Please see [Issue 2509](https://github.com/golang/vscode-go/issues#2509) for details.
9
+
- When debugging tests, the extension will open the "Debug Console". ([Issue 2409](https://github.com/golang/vscode-go/issues/2409))
10
+
11
+
### Fixes
12
+
- Fixed [Issue 2525](https://github.com/golang/vscode-go/issues/2525) that prevented triggering of parameter hints after method autocompletion. Users can enable/disable this parameter hints popup with the `"editor.parameterHints.enabled"` setting.
- Removed dev dependency affected by CVE-2022-3517.
15
+
16
+
### Thanks
17
+
Thank you for your contribution, @suzmue, @fatoboist, @cuishuang, @jamalc, @karthikraobr, @pjweinbgo, @firelizzard18, @hyangah!
18
+
1
19
## v0.35.2 - 15 Aug, 2022
2
20
A list of all issues and changes can be found in the [v0.35.2 milestone](https://github.com/golang/vscode-go/milestone/51) and [commit history](https://github.com/golang/vscode-go/compare/v0.35.1...v0.35.2).
Copy file name to clipboardExpand all lines: docs/contributing.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -69,13 +69,13 @@ You can run `npm run lint` on the command-line to check for lint errors in your
69
69
70
70
### Run
71
71
72
-
To run the extension with your patch, open the Run view (`Ctrl+Shift+D`), select`Launch Extension`, and click the Play button (`F5`).
72
+
To run the extension with your patch, open the Run view (`Ctrl+Shift+D` or `⌘+⇧+D`), select`Launch Extension`, and click the Play button (`F5`).
73
73
74
74
This will open a new VS Code window with the title `[Extension Development Host]`. You can then open a folder that contains Go code and try out your changes.
75
75
76
76
You can also set breakpoints to debug your change.
77
77
78
-
If you make subsequent edits in the codebase, you can reload (`Ctrl+R`) the `[Extension Development Host]` instance of VS Code, which will load the new code. The debugger will automatically reattach.
78
+
If you make subsequent edits in the codebase, you can reload (`Ctrl+R` or `⌘+R`) the `[Extension Development Host]` instance of VS Code, which will load the new code. The debugger will automatically reattach.
Copy file name to clipboardExpand all lines: docs/features.md
+10-1Lines changed: 10 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,7 @@ This document describes the features supported by this extension.
35
35
*[Run your code](#run-your-code)
36
36
*[Test and benchmark](#test-and-benchmark)
37
37
*[Code coverage](#code-coverage)
38
+
*[Profiling](#profiling)
38
39
*[Debug your code](#debugging)
39
40
*[Other](#other)
40
41
*[Go Playground](#go-playground)
@@ -220,14 +221,22 @@ Behind the scenes, the `Debug: Start without Debugging` command calls `go run`.
220
221
221
222
### Test and benchmark
222
223
223
-
[Test UI](https://code.visualstudio.com/api/extension-guides/testing) and [Code lenses](https://code.visualstudio.com/blogs/2017/02/12/code-lens-roundup) allow users to easily run tests and benchmarks for a given function, file, package, or workspace. Alternatively, the same functionality is available through a set of commands: [`Go: Test Function At Cursor`](commands.md#go-test-function-at-cursor), [`Go: Test File`](commands.md#go-test-file), [`Go: Test Package`](commands.md#go-test-package), and [`Go: Test All Packages in Workspace`](commands.md#go-test-all-packages-in-workspace).
224
+
[Test UI](https://code.visualstudio.com/api/extension-guides/testing) and [Code lenses](https://code.visualstudio.com/blogs/2017/02/12/code-lens-roundup) allow users to easily run tests, benchmarks, and profiles for a given function, file, package, or workspace.
225
+
226
+
Alternatively, the same functionality is available through a set of commands: [`Go: Test Function At Cursor`](commands.md#go-test-function-at-cursor), [`Go: Test File`](commands.md#go-test-file), [`Go: Test Package`](commands.md#go-test-package), and [`Go: Test All Packages in Workspace`](commands.md#go-test-all-packages-in-workspace).
Show code coverage in the editor, either after running a test or on-demand. This can be done via the commands: [`Go: Apply Cover Profile`](commands.md#go-apply-cover-profile) and [`Go: Toggle Test Coverage in Current Package`](commands.md#go-toggle-test-coverage-in-current-package).
230
233
234
+
### Profiling
235
+
236
+
"Go Test: Profile" menu in [Test UI](https://code.visualstudio.com/api/extension-guides/testing) collects CPU/Memory/Mutex profiles and allows visualizing them using pprof (`go tool pprof`).
0 commit comments