Vim Java 代码补全?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/839514/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Vim Java code completion?
提问by Naseer
Is there something equivalent to OmniCppComplete for java in vim ? I know of eclim but I think it is overkill for such a simple feature.
在 vim 中是否有相当于 OmniCppComplete for java 的东西?我知道 eclim,但我认为对于这样一个简单的功能来说它是矫枉过正的。
采纳答案by user55400
回答by Naseer
Also found VJDE - http://www.vim.org/scripts/script.php?script_id=1213- Need to evaluate which one is better/more up-to-date
还发现了 VJDE - http://www.vim.org/scripts/script.php?script_id=1213- 需要评估哪一个更好/更新
回答by joeytwiddle
Seems you have some options for code-completion above.
似乎您有一些上面的代码完成选项。
I would recommend also grabbing a copy of TagList, which provides a sidebar displaying the structure of your current file.
我还建议获取TagList的副本,它提供了一个显示当前文件结构的侧边栏。
The ctags which TagList uses can also be used for fast navigation in Vim. Ctrl+] over the text "curiousMethod()" should take you to the definition of that method.
TagList 使用的 ctags 也可用于 Vim 中的快速导航。Ctrl+] 在文本“curiousMethod()”上应该会带您到该方法的定义。

