Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v0.17.0 checklist #1

Closed
18 of 21 tasks
hyangah opened this issue Sep 17, 2020 · 0 comments
Closed
18 of 21 tasks

v0.17.0 checklist #1

hyangah opened this issue Sep 17, 2020 · 0 comments

Comments

@hyangah
Copy link
Owner

hyangah commented Sep 17, 2020

New Features

  • Delve's function call feature is now accessible. To use this feature,
    explicitly specify the call command. E.g. call myAwesomeFunc().
    (Issue 100)
  • The extension checks the go official site and notifies of
    newly available Go versions. This feature is available only if
    go.useGoProxyToCheckForToolUpdates is set true.
    (Issue 483)
  • The new go.coverMode setting allows to use different coverage modes
    (atomic, count, set (default)). We are still looking for better data
    visualization for count coverage data; feedback and contribution is welcome!
    (Issue 256,
    594)

TODO: Rerender when the new settings are updated

Enhancement

  • Expands '~' in the cwd attribute of the launch configuration.
    (Issue 116)
  • Debug config's showGlobalVariables is disabled by default, and
    this change improves speed. You can still inspect the global
    variables by registering them in the WATCH section, or by
    configuring showGlobalVariables in launch.json.
    (Issue 138)
  • gofumpt, gofumports is added to recognized formatters list.
    (Issue 587)
  • Automatically restarts the language server if go.toolsEnvVars configuration is changed.
    (CL 254370)
  • Reports go env failures.
    (Issue 555)

Fixes

  • Fixed to use absolute file paths in error messages appearing in the DEBUG OUTPUT.
    This allows VS Code to locate the correct files.
    (Issue 456)
  • Fixed handling of absolute file paths in coverage profile, on windows.
    (Issue 553)
  • Changed to pass GOROOT when invoking the gopkgs tool so gopkgs
    continues to work with different go versions without being recompiled.
    (CL 254137)
  • Fixed to provide explicit directory for running go list and go version.
    (Issue 610,
    CL 253600,
    253602)
  • Fixed to trigger extension activation when commands for diagnostics,
    such as Go: Locate Configured Go Tools are invoked.
    (Issue 457)
  • Fixed to prepend GOROOT/bin to integrated terminal's PATH
    environment variable when go.goroot is set on OS X.
    (Issue 544)
  • Fixed to correctly apply environment variables setting read from envFile
    in the launch configuration. We reworked how the environment variables
    configuration is processed during this cycle. Now the extension processes
    the envFile attribute instead of asking the debug adapter process to
    read the specified envFile.
    (Issue 452)
  • Disabled go.installDependenciesWhenBuilding by default. When this is
    enabled, the extension runs go commands with -i, which is no longer
    recommended with recent versions of Go.
    (Issue 568)

Documentation

Code Health

  • Removed the obsolete string-type coverageDecorator support.
    (Issue 519)
  • When gopls integration tests fail, tests print the observed gopls traces
    to help debugging.

Experimental Features

  • We plan to delegate computation of various run test CodeLenses to gopls.
    The feature can be enabled with the following setting:
"go.useLanguageServer": true,
"gopls": {
	"codelens": { "test": true }
}
@hyangah hyangah closed this as completed Feb 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant