golang / vscode-go

Go extension for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=golang.Go
Other
3.8k stars 730 forks source link

tools: reduce the number of 3rd party tools the extension requires #1652

Open hyangah opened 2 years ago

hyangah commented 2 years ago

VS Code Go uses gopls for most of the language features, but there are a few features that still require 3rd party tools. We propose to migrate those features to gopls, reduce dependency on third party tools further, and improve security, reliability, usability and maintainability of the plugin.

This is a uber-issue to keep track of the progress and track glue work. Contribution/help is welcome!

Recently @marwan-at-work replaced use of gopkgs for the go.import.add command with custom commands implemented inside gopls. See the followings as inspiration:

https://github.com/golang/vscode-go/blob/master/src/goToolsInformation.ts has the full list of tools that can be used by the plugin.


gopherbot commented 8 months ago

Change https://go.dev/cl/538762 mentions this issue: src/goToolsInformation: delete legacy tools