Vim Java code completion?

10,622

Solution 1

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

Solution 2

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

Solution 3

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.

Share:
10,622
Author by

Naseer

Engineer

Updated on June 13, 2022

Comments

  • Naseer 4 months

    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.

  • user55400
    user55400 over 13 years
    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.