This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
Code Coverage when running tests from a single file, improved support for test tags & flags when debugging tests and other bug fixes
New features
-
- New setting
go.coverOnSingleTestFile
to enable applying code coverage resulting from running all tests in current file either using
the code lensrun file tests
or the commandGo: Test File
. Feature Request 2873 implemented with PR 2884
- New setting
-
- Add the option
Don't show again
to the warning that appears on saving changes to files when in the midst of debugging. Feature Request 2880 implemented with PR 2906
- Add the option
-
- Activate the Go extension when the workspace contains Go files rather than wait for a Go file to be opened. Feature Request 2821 implemented with PR 2859
-
- Use tags and options specified in the
go.addTags
andgo.removeTags
settings as placeholders in the input boxes that appear when running theGo: Add Tags To Struct Fields
andGo: Remove Tags From Struct Fields
commands. Feature Request 2929 implemented with PR 2944
- Use tags and options specified in the
Language server updates
- Ramya Rao (@ramya-rao-a)
- The setting
go.languageServerExperimentalFeatures
which allows you to disable experimental features from the
language server has been trimmed the features that can be thus disabled to the below as rest of the features are
deemed to be stable.- format
- documentLink
- diagnostics
- Fix error "Cannot read property 'clear' of undefined" that appears on running the command
Restart language server
if the language server had not started successfully.
- The setting
Others
-
- Ensure the build tags from
go.buildTags
andgo.testTags
are respected by theGo: Debug Test At Cursor
command. Fixes Bug 2953 with commit d6b6668 - Ensure that test arguments passed to
go.testFlags
are treated as arguments and not build flags by delve when debugging tests. Fixes Bug 2115 with commit 9ab7b8bff
- Ensure the build tags from
-
- Update travis.yml with latest VM and improve time taken during cloning step. For more details, see PR 2915
-
- Update package dependencies. PR 2900