This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
Browse packages, use megacheck for linting, new subtle way to show code coverage and more ...
Features
- Ian Chiles (@fortytw2)
- Option to use megacheck as a linting tool which
can have significantly better performance thangometalinter
, while only supporting a subset of the tools. Use the settinggo.lintTool
to try this.
- Option to use megacheck as a linting tool which
- alexandrevez (@alexandrevez)
- Option to highlight gutters rather than full text for code coverage. Use the new setting
go.coverageDecorator
to try this.
- Option to highlight gutters rather than full text for code coverage. Use the new setting
- Ramya Rao (@ramya-rao-a) & Marwan Sulaiman (@marwan-at-work)
- Browse packages and go files with new command
Go: Browse Packages
. Feature Request 330- If cursor is on an import statement, then files from the imported package will be shown in the quick pick control
- Else, all packages are shown in the quick pick control. Select any and corresponding Go files will be shown next.
- Selecting any of the Go files, will open the file in a new editor.
- Browse packages and go files with new command
- Saud Khan (@bidrohi)
- Print import paths of Go tools as they get installed. PR 1032
- Ramya Rao (@ramya-rao-a)
- Prompt to update dependent Go tools when there is a change in the Go version. Feature Request 797
- Better user experience when dependent Go tools are missing. Feature Request 998
- Prompts will only show up for tools that are used for features that are explicitly executed by the user. Eg: Rename, Generate Unit Tests, Modify tags. And not for features that get triggered behind the scenes like linting, hover or format on save.
- When the prompts do show up, closing them will ensure that they wont show up for the duration of the current session of VS Code.
Bug Fixes
- llife0915 (@llife0915)
- Fix for issue when unverified breakpoints appeear when creating/deleting breakpoints once debugging starts in Windows.
- Roman Peshkov (@rpeshkov)
- Expand file names to file paths in test output for subtests. Bug 1049
- Guilherme Oenning (@goenning)
- Pass GOPATH to debug adapter when debugging tests via codelens. Bug 1057
- Nuruddin Ashr (@uudashr)
- Skip testing vendor folders when using the command
Go: Test all Packages in Workspace
- Skip testing vendor folders when using the command
- Ramya Rao (@ramya-rao-a)
- Start without debugging should fallback to debug mode when configured program is not a file. Bug 1084
- Fix for incorrect package name during autocomplete of unimported packages when package name is not the same as the last part of the import path. Bug 647
- Skip building vendor folders when
go.buildOnSave
is set toworkspace
. Bug 1060 - Honor
go.buildTags
when usinggogetdoc
. Bug 1024 - Fix build failure when
-i
is passed as a build flag. Bug 1064 - Fix vet failure when any flag is passed. Bug 1073
- Better formatting in import blocks when imports get added during auto-completion or when
Go: Add Import
command is used. Bug 1056 Go: Generate Interface Stubs
should work when interface is prefixed with package path