如何在GoClipse中启用自动完成功能?(How to enable autocomplete in GoClipse?)

编程入门 行业动态 更新时间:2024-10-10 08:18:21
如何在GoClipse中启用自动完成功能?(How to enable autocomplete in GoClipse?)

遵循了如何安装GoClipse 的说明 。

我根本没有得到任何自动完成的东西,无论是为我编写的本地软件包,内置的东西,还是GAE的东西(我已经下载了Go src到SDK文件夹,就像wiki的状态一样)。

是否有任何设置可以检查以确保设置正确? 自动完成应该在当前版本中工作吗?

The instructions how to install GoClipse have been followed.

I'm not getting any autocomplete stuff happening at all, either for local packages that I write, for built in stuff, or for GAE stuff (I have downloaded Go src to the SDK folder as the wiki states).

Are there any settings that I can check to ensure it is set up correctly? Is autocomplete supposed to work in the current version?

最满意答案

正如您链接到AppEngine文章的GoClipse所说:

我们假设读者在他们的Eclipse环境中运行了一个GoClipse的工作副本。

所以这不是你想要提及的文章。 相反,检查GoClipse 。

自动完成在eclipse中被命名为内容辅助。 GoClipse功能状态:

现在通过Gocode for Windows,OS X 64bit和Linux 64bit提供内容帮助。

Gocode是一个自动完成守护进程。 因此,除了你的eclipse + GoClipse之外,你还必须安装和运行它。

As the GoClipse with AppEngine article you linked to says:

We assume the reader has a working copy of GoClipse running in their Eclipse environment.

so that’s not the article you want to refer to. Instead, check for GoClipse.

The auto completion is named content assist in eclipse. The GoClipse features state:

Now delivered with content assist via Gocode for Windows, OS X 64bit, and Linux 64bit.

Gocode is an auto-completion daemon. So you will also have to install and run that one besides your eclipse + GoClipse.

更多推荐

本文发布于:2023-08-07 12:44:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1464321.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:自动完成   功能   如何在   autocomplete   GoClipse

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!