Release 0.18.0
v0.18.0 - 23rd Oct, 2020
Unified Go status UI ⚡, many debugger feature improvements, and LSP 3.16 features! A list of all issues fixed with this release can be found in the v0.18.0 milestone.
New Features
- The new Go status bar provides a menu to manage the go version, open the gopls trace, open the
go.mod
file, and more. The oldGo Modules
status bar was removed in favor of this new unified status bar. See VS Code Go UI documentation to learn more about this. - New
Go: Toggle gc details
command toggles the display of compiler optimization choice for the open Go source file (CL 256658). - Upgraded LSP to
3.16
. Users of recentgopls
can access new features such asCall hierarchy
andSemantic tokens
.
Enhancement
- Debugging:
- Language Server Client: sends
gopls
config as LSP initialization options for correct workspace symbols computation (CL 259138). - Snippets: adds a placeholder for the
for
statement snippet (Issue 734). - Excludes
vendor
directories fromgo.inferGopath
disable mechanism (Issue 301). - New
go.logging.level
setting allows extra logging to help debugging extension issues (CL 256557). - For Nightly extension users,
Go: Show Survey Config
andGo: Reset Survey Config
commands are available.
Fixes
- Fixed the bug that caused the debug adapter to leave bogus null items in the map type variable presentation (Issue 199).
- Fixed several debug adapter bugs that caused remote debug to hang (Issue 740, 766, 761, 764).
- Restored the correct handling of language server configuration change when users opt for enabling language server and installing
gopls
. (CL 258997). - Fixed a diagnostics error visualization issue when multiple files with errors are open (Issue 743).
- Changed the dependency tool installation to use the
go
command chosen from the currentGOROOT/bin
. This helps avoid using a different version ofgo
command forasdf
ordirenv
users (Issue 757).
Documentation
- Documented the current limitation of symlink support in debugging (CL 257204), improved the instruction for CLI application debugging (CL 259677), and fixed syntax errors in example task configuration snippets (CL 259077).
Code Health
- Added an initial set of tests for debug adapters (Issue 137). We will keep working to improve our test coverage.
Thanks
Thank you for your contributions, @suzmue, @vologab, @amitlevy21, @danielhelfand, @egonk, @quoctruong, @polinasok, @pjweinbgo, @stamblerre, @hyangah!