Release 0.20.0
v0.20.0 - 22nd Dec, 2020
A list of all issues and changes can be found in the v0.20.0 milestone.
📣 Announcement: We plan to enable the language server,
gopls, by default early next year. (Issue 1037)Please test and provide us your feedback on the
#vscode-devGophers Slack channel.
Enhancements
- Debugging
- The new
substitutePathconfig property allows users to translate their symlinked directories to the actual paths, and
the local paths to the remote paths. See Launch Configurations
and Remote Debugging for details. - Quick pick menu for creating
launch.jsonwas added. (Issue 131) - Report that
nextis automatically cancelled by delve if interrupted, for example, because breakpoint is set. See Issue 787 for details. (CL 261078)
- The new
- The new
tyfsnippet fortype name func()was added. (Issue 1002) - Include the
goplssettings section definition based ongoplsv0.6.0. (Issue 197, CL 278355) go.buildFlagsandgo.buildTagsare propagated togoplsunless"gopls": {"buildFlags": ..}is set. (Issue 155)- The new
go.toolsManagement.checkForUpdatessetting allows users to completely disable version checks.
This deprecatesgo.useGoProxyToCheckForToolUpdates. (Issue 963)
Fixes
- Added a workaround for the VSCode
PATHsetup issue. Whengoisn't
found fromPATH, the extension will check/usr/local/bintoo (Issue 971). - Fixed language client crashes or duplicate language features on the guest side of a VS Live Share session.
The initial fix added in v0.19.0 for VS Live Share wasn't sufficient. (Issue 605, 1024) - Stop requiring to install legacy tools when the language server is used. (Issue 51)
- Update
goplsif the existing version in the system is older than the minimum required version when the extension enablesgoplsautomatically. (Issue 938) - Show language server start progress and allow only one outstanding language server restart request. (Issue 1011)
- Fixed a gocode-gomod installation bug that caused to ignore
GOBINsetting. (CL 275877) - Marked settings that are not applicable when using the language server. (Issue 155)
Code Health
- Deprecated unused settings such as
go.overwriteGoplsMiddlewareand marked deprecated settings. - Improved stability of debug functionality tests on windows.
- Improve the automated gopls issue template message. It includes the extension name and version.
- Prompt users to file an issue for feedback when they choose to opt out of gopls.
- CI test workflow now runs
vsce packageto detect packaging errors early.
Thanks
Thank you for your contribution, @hyangah, @suzmue, and @programmer04!