Release 0.15.0
·
1548 commits
to master
since this release
New Features
- The new command
Go: Subtest At Cursorruns an individual subtest if the subtest's name is a simple string (cl/235447). - The new setting
go.trace.servercontrols tracing between VS Code and the language server (cl/232458). Unlike tracing usinggoplsflags, this controls client-side tracing, and does not require to restart the server to change the value. This client-side trace is presented in thegoplsoutput channel. The server-side trace has been moved to the newgopls (server)output channel (cl/233598). - There is now a new Go version status bar item. Clicking it currently only pops up the current
GOROOT. We plan to add Go version switch, and other features using this status bar item.
Enhancement
Go: Add Tags To Struct Fieldsprompts transform parameter input if the settinggo.addTags.promptForTagsis true (Issue 2546).Go: Locate Go Toolscommand output includes theGOBINvalue. (cl/235197).- Improved debugging experience
- The debug adapter automatically infers the mapping between remote and local paths for easy remote debugging (cl/234020, Issue 45).
- The debug adapter handles errors that can occur during remote connection setup (cl/237550, Issue 215).
- Failed watch expression evaluation no longer pops up error message windows. The error is visible in the watch window instead (cl/236999, Issue 143).
- Better language server integration
go.gopath,go.goroot,go.toolsGopathare now machine-overridable (cl/236539, Issue 2981).- The extension does not mutate the
GOROOTenvironment variable any more.go.gorootis used to select thegocommand under the specified directory (Issue 146). - A redundant code action provider was removed when using the language server (cl/239284).
Fixed
- Fixed
goplsversion detection and upgrade logic when pre-release versions are involved (cl/235524). - Processes started with
Run > Run Without Debugging (^F5)are now cleaned up when the run sessions end (cl/236879). - When
go.alternateTools.gois set, the path to$(go env GOROOT)/binis passed to underlying tools to ensure they use the samegoversion (cl/239697). - Now the extension avoids invoking buggy
pgrepon mac OS (cl/236538, Issue 90).
Code Health
- More test coverage
- Upgraded dependencies including websocket-extensions from 0.1.3 to 0.1.4 (cl/228617, cl/236839, pr/3261).
Thanks
Thank you for your contribution, Brayden Cloud, Bulent Rahim Kazanci, Eli Bendersky, Hana Kim, Polina Sokolova, Quoc Truong, Rebecca Stambler, Rohan Talip, Ryan Koski, Sean Caffery, Ted Silbernagel, Vincent Jo, and codekid!