tags:

views:

959

answers:

4

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.

+4  A: 

See http://www.vim.org/scripts/script.php?script_id=1785

+3  A: 

Also found VJDE - http://www.vim.org/scripts/script.php?script_id=1213 - Need to evaluate which one is better/more up-to-date

Naseer
Judging from the amount of downloads, the last updates to the code, and the rating, your script seems to the better choice. FYI, I haven't used either.
+1  A: 

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.

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.

joeytwiddle
A: 

Silly question, but is there any reason you are not using an IDE. Many IDEs have a plugin so you can perform vi like operations. IDEs also allow you to run, debug or even profile your application with a single click or key.

I used to only use vi for development and didn't see the point of using an IDE, but when I did start using an IDE, I couldn't believe I had resisted using one. (That was in the year 2000 BTW)

Peter Lawrey