golang/go

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

Ouverte

#40 660 ouverte le 10 août 2020

 (4 commentaires) (13 réactions) (0 personne assignée)Go (19 008 forks)batch import
FeatureRequestToolsgoplsgopls/importshelp wanted

Métriques du dépôt

Stars
 (133 883 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

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

Guide contributeur