在goSublime中叠加函数签名。

huangapple go评论81阅读模式
英文:

Overlay the function signature in goSublime

问题

我正在使用Sublime Text 3的GoSublime插件。

在一个大型项目中,我经常想查看(函数)调用者的返回参数类型,虽然GoSublime可以让我“跳转”到声明处,但与在被调用处显示一个覆盖层相比,这仍然不够理想。

有没有办法实现这个功能?

英文:

I am using GoSublime with Sublime Text 3.

Often times in a large project I'd like to see the (function) caller's return arg types and while GoSublime enables me to "Go to" the declaration, that's still sub-optimal, compared to having an overlay that could just show up at the callee

Is there a way to do this?

答案1

得分: 1

在使用Go语言并尝试不同的集成开发环境(IDE)两年半后,我们从Sublime Text转移到了Visual Studio Code。

在过去的六个月中,我们一直在使用带有Go插件的Visual Studio Code,这是您可以获得的最好的Go编程体验。如果您将Delve调试器与其集成,您将得到一个非常好的编码框架。

因此,我建议您转移到VSC并放弃Sublime Text。

以下是在Visual Studio Code中实现您所期望的外观:

在goSublime中叠加函数签名。

英文:

After two and half years working with go and trying different IDEs, we have moved from Sublime Text to Visual Studio Code.

We had been using Visual Studio Code with the Go plugin for the last 6 months and it's the best Go experience you can have. If you integrate Delve debugger with it you get a really good coding framework.

So my recommendation is that you move to VSC and give away Sublime Text.

This is how it looks what you are looking in Visual Studio Code:

在goSublime中叠加函数签名。

huangapple
  • 本文由 发表于 2017年1月20日 06:28:03
  • 转载请务必保留本文链接:https://go.coder-hub.com/41752884.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定