golang/go
View on GitHubx/tools/gopls: consider auto-detecting the module to provide -local without a config
Open
#40,660 opened on Aug 10, 2020
FeatureRequestToolsgoplsgopls/importshelp wanted
Repository metrics
- Stars
- (133,883 stars)
- PR merge metrics
- (No merged PRs in 30d)
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