An experimental new code lens to view GC optimization details (@pjweinb). Once the code lens is enabled, you will see a Toggle gc details annotation at the top of your file. Clicking it will show optimization diagnostics produced by the Go compiler, and clicking it once again will hide these diagnostics. Enable the code lens by adding the following to your settings:
"codelens": {
"gc_details": true
}
go mod tidy and go mod vendor code lenses for go.mod files (@dandua98).
Support for filling in matching in-scope variables instead of just empty values in fillstruct and fillreturns (@joshbaum).
Autocompletion within import statements (@dandua98).
Autocompletion within package declarations (@dandua98).
Improvements
Improvements to workspace symbols ranking and fuzzy matching (@findleyr, @myitcv).
Better completion suggestions in type switch case clauses and for calls to append, function literals, and unnamed types (@muirdm).
Thank you
Thank you to everyone who contributed to this release!
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- `@dependabot rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps golang.org/x/tools from 0.1.0 to 0.5.0.
Release notes
Sourced from golang.org/x/tools's releases.
... (truncated)
Commits
7db99dd
go.mod: update golang.org/x dependencies1e0dff2
gopls/internal/regtest: avoid race in TestSwitchFromGOPATHToModuleMode0441b43
gopls/internal/lsp/cache: use specific mutexes for module data33071fb
internal/robustio: move robustiob01e7a4
gopls/internal/regtest/watch: don't run TestSwitchFromGOPATHToModuleModee417ea3
gopls: remove dead analysis code1a08d01
gopls/internal/lsp: update replace directives in go.mod for package renamingeac36cb
gopls/internal/regtest: port experimental workspace tests to go.work224a61b
gopls/internal/lsp/source: delete Snapshot.WriteEnv method81e741e
gopls/internal/lsp/safetoken: funnel more calls through this packageDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)