go-language-server v0.6.62 Release Notes

Release Date: 2017-06-09 // almost 7 years ago
  • ๐Ÿ”‹ Features

    • Jamie Stackhouse (@itsjamie)
      • New command Go: Generate interface stub to generate stubs that implement given interface using impl. PR 939
        • When the command is run, you are prompted to provide interface name. Eg: f *File io.Closer
        • The stubs are then generated where the cursor is in the editor.
    • Guilherme Oenning (@goenning)
      • New setting go.testEnvFile to configure the location of a file that would have environment variables to use while running tests. PR 971
        • File contents should be of the form key=value.
        • Values from the existing setting go.test.EnvVars will override the above
        • These environment variables will also be used by the "Debug Test" codelens
        • When debugging using the debug viewlet or pressing F5, the above will not be used. Continue to use the env and/or envFile property in the debug configurations in the launch.json file.
    • Ole (@vapourismo)
      • You can now run build/lint/vet on the whole workspace instead of just the current package on file save. PR 1023
        • To enable this, the settings go.buildOnSave, go.lintOnSave and go.vetOnSave now take values package, workspace or off instead of the previous true/false.
        • These features are backward compatible and so if you are still using true/false for these settings, they will work as they did before, but you will get a warning in your settings file.
    • Ramya Rao (@ramya-rao-a)
      • Better build performance when working on main packages and test files by using the -i flag.
      • Better linting experience while running gometalinter by using the --aggregate flag which aggregates similar errors from multiple linters.

    ๐Ÿ› Bug Fixes

    • Ramya Rao (@ramya-rao-a)
      • Fix for Bug 968 where rename fails if --- is anywhere in the file
      • Fix for Bug 981 where Go: Test Function At Cursor fails.
      • Fix for Bug 983 where the Go binary is not found in MSYS2 as it is not located in GOROOT.
      • Fix for Bug 1022 where snippets from function auto complete do not insert the placeholders
      • Fix for Bug 962 where references codelens wouldnt work for methods.
    • F0zi (@f0zi)
      • Fix for Bug 1009 where remote debugging fails to verify breakpoint if GOPATH partially matches remote GOPATH
    • Anton Kryukov (@Emreu)
      • Use the go.testEnvVars while debugging tests using codelens