You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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:
mac/install/golang.sh: Add in gopkgs and go-outline which the vscode
plugin for go uses. There is work underway to replace some of these
with gopls, see golang/vscode-go#1652.
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 thego.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.
gopkgs: tools: replace use of 'gopkgs' with 'go list all' #258
gopkgs -format '{{.Name}};{{.ImportPath}};{{.Dir}}'
gopls.list_known_packages
go-outline: tools: replace
go-outline
withgopls
#1020GoDocumentSymbolProvider
implementation with a modified gopls documentSymbol, by amending the list of imports, and leave all the code untouched until gopls implements all the code lenses and go.generate.tests natively (x/tools/gopls: supply imported package names in documentSymbol results go#40514 (comment))go.generate.tests
from gopls natively and get rid ofGoDocumentSymbolProvider
.guru: x/tools/gopls: add codelens to show number of references to each symbol go#40862
references
codelens #2509gomodifytags: tools: merge
gomodifytags
functionality intogopls
and usegopls
#2002gomodifytags
.- check if there is any reusable code if gomodifytags is refactored and discuss with fatih if so
goplay
go.playground
command)impl: x/tools/gopls: generate method stubs for a given interface go#37537
go.impl.cursor
command)*
Proposal: implement from gopls - two new commandsgopls.list_known_interfaces
gopls.generate_interface_stubs
gotests: tools: migrate test generation features to
gopls
#1594gopls.generate_tests
go.generateTestsFlags
and env vars (GOTEST_TEMPLATE_DIR
,GOTEST_TEMPLATE
)isImportant
,replacedByGopls
info in the tools listThe text was updated successfully, but these errors were encountered: