golang/go

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

开放

#40,660 创建于 2020年8月10日

 (4 条评论) (13 个反应) (0 位负责人)Go (19,008 个派生)batch import
FeatureRequestToolsgoplsgopls/importshelp wanted

仓库指标

星标
 (133,883 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南