golang/go

x/tools/gopls: consider auto-detecting the module to provide -local without a config

Aberta

#40.660 aberto em 10 de ago. de 2020

 (4 comentários) (13 reações) (0 responsável)Go (19.008 forks)batch import
FeatureRequestToolsgoplsgopls/importshelp wanted

Métricas do repositório

Stars
 (133.883 estrelas)
Métricas de merge de PR
 (Métricas PR pendentes)

Description

See the conversation on https://github.com/golang/go/issues/31999 and https://github.com/golang/go/issues/32049. Could we add some special value of the setting and have it automatically infer the name of the current module? For use cases where -local is not necessarily the path of current module, we could still allow a configuration as before.

/cc @heschik

Guia do colaborador