vscode-go v0.19.0 Release Notes
Release Date: 2020-11-25 // 3 months ago-
A list of all issues and changes can be found in the v0.19.0 milestone.
Community
- Go Nightly users are encouraged to discuss issues and share feedback in the #vscode-go-nightly slack channel as well as the newly created Go Nightly mailing list (Issue 817) <!-- CL 266419 -->
- All experiments have been turned on for Go nightly (Issue 818) <!-- CL 264317 --> <!-- CL 267678 -->
✨ Enhancements
- ➕ Added a snippet for TestMain (Issue 629) <!-- CL 254497 -->
- ➕ Added
lispcase
,pascalcase
andkeep
as transform variants for go.addTags (Issue 906, 936) <!-- CL 271357 --> - ➕ Added support for
gomodifytags
's --template flag (Issue 826) <!-- CL 264299 --> - Language Server
- Upgraded to the latest vscode-languageclient pre-release (Issue 42148) <!-- CL 266497 -->
- Debugging
- package.json: activate extension onDebugInitialConfigurations (Issue 131) <!-- CL 267899 -->
🛠 Fixes
- 🛠 Fixed test streaming output handling to correctly add -json flag (Issue 471) <!-- CL 268839 -->
- 🛠 Fixed bug that unnecessarily buffered test output (Issue 917) <!-- CL 269917 -->
- 🛠 Fixed a bug that occurred when choosing a new Go environment using the file picker (Issue 868, 864) <!-- CL 267898 -->
- ✅ Hide running test StatusBarItem after cancelling tests <!-- CL 268838 -->
- Tool Installation
- 👍 Filter out unsupported document types to improve VS Code Live Share experience (Issue 605) <!-- CL 269157 -->
- 🛠 Fixed language server survey computation error <!-- CL 270039 -->
- Debugging
- No longer shows a warning about editing Go files if there is no Go Debug Session running. <!-- CL 269137 -->
- Now removes user set '--gcflags' before passing the program to the debugger, since the debugger adds its own flags before building resulting in an error (Issue 117) <!-- CL 265580 -->
- Fixed bug where the working directory passed in by the user is ignored (Issue 918) <!-- CL 270437 -->
Code Health
- Debugging
- 👌 Improved the extension contributor experience by renaming the test fixtures folder to avoid errors being shown for these files <!-- CL 264324 -->
- ✅ Language Server Tests
- 👷 Adjusted home directory used in gerrit CI since recent changes in kokoro were restricting access (Issue 833) <!-- CL 264877 -->
- ⚡️ Updated Github workflows actions/setup-go to v2 <!-- CL 268997 -->
- ✅ Restructured the goTest code to be more readable and easier to test <!-- CL 268837 --> <!-- CL 268839 -->
- 📚 Continued to improve the gopls settings documentation generator (Issue 197) <!-- CL 265742 -->
Thanks
Thank you for your contribution, @pofl, @hyangah, @perrito666, @pjweinbgo, @quoctruong, @stamblerre, @skaldesh, and @suzmue!
Previous changes from v0.19.0-rc.3
-
🚀 How to install pre-release:
- Download the .vsix file from this page.
- Navigate to the Extensions view in VS Code (Ctrl+Shift+X). Click on the "..." in the top-right corner, select "Install from VSIX", and select the .vsix file you downloaded. Alternatively, open the Command Palette and run the "Extensions: Install from VSIX..." command.
- If prompted, reload VS Code.
🚀 Release note: https://github.com/golang/vscode-go/blob/v0.19.0-rc.3/CHANGELOG.md#v0190---19-nov-2020
Milestone: https://github.com/golang/vscode-go/issues?q=is%3Aissue+milestone%3Av0.19.0+is%3Aclosed