英文:
GoSublime go to definition
问题
go to definition
在GoSublime 2或3中是否可用?
我只得到了
GsDoc:未找到文档
据提到,该功能可用
https://github.com/DisposaBoy/GoSublime
并有文档记录
https://github.com/DisposaBoy/GoSublime/blob/master/USAGE.md
但我找到了一些一年或两年前的类似错误报告。
英文:
Does go to definition
work in GoSublime 2 or 3 ?
I get only
GsDoc: no docs found
It is mentioned that that feature is available
https://github.com/DisposaBoy/GoSublime
and documented
https://github.com/DisposaBoy/GoSublime/blob/master/USAGE.md
But I found similar error reports year or two years old.
答案1
得分: 11
这个"转到定义"功能只适用于表达式pkgname.Funcname
,但是设计(一般交互)尚未实现。
另外,你必须在GOPATH
或GOROOT
中拥有源代码,否则GoSublime无法找到你的代码。
你可以在以下链接中了解更多信息:
https://github.com/DisposaBoy/GoSublime/issues/62
英文:
This go to definition only works with expression pkgname.Funcname
, but the design(general interaction) is not implemented.
By other way you must have the source code in the GOPATH
or GOROOT
, if not GoSublime cannot find your code.
You can read more about at:
https://github.com/DisposaBoy/GoSublime/issues/62
答案2
得分: 2
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论