golang/go

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

Aperta

#40.660 aperta il 10 ago 2020

 (4 commenti) (13 reazioni) (0 assegnatari)Go (19.008 fork)batch import
FeatureRequestToolsgoplsgopls/importshelp wanted

Metriche repository

Star
 (133.883 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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

Guida contributor