LSP是微软牵头搞得一套协议,用于各种语言和IDE之间的提示,补全之类的;
gopls是Go的实现,由Go Team维护 (还有一个是Sourcegraph维护的,现在不更新了)
Implementations-Language Servers
Go Blog-Gopls on by default in the VS Code Go extension
20250526
可以为其做贡献~
https://github.com/golang/tools/tree/master/gopls
https://github.com/golang/tools/blob/master/gopls/doc/advanced.md#installing-unreleased-versions
https://github.com/golang/tools/blob/master/gopls/doc/design/implementation.md
https://github.com/golang/tools/blob/master/gopls/doc/troubleshooting.md#troubleshooting
https://github.com/golang/go/issues?q=is%3Aissue+is%3Aopen+label%3Agopls
原文链接: https://dashen.tech/2020/08/03/LSP与gopls/
版权声明: 转载请注明出处.