sponsor Vim development Vim logo Vim Book Ad

oo : Java code commpletion

 script karma  Rating 4/1, Downloaded by 1217    Comments, bugs, improvements  Vim wiki

created by
JiuTian Zhang
script type
This plugin is used for Java code completion. It's depends on ctags ,
vim which +ruby future is enabled.
For generate tags :
         ctags --fileds=+ai   .....
For  generate tags Index file:
         :ruby generateIndex("/usr/java/jdk/src/tags",2)
The second parameter which value is 2  is recommand.

Once you vim version is 7.00aa
         :set cfu=OocompleteFun
You can use <CTRL>-x<CTRL>-u for this samle:
        String str="";
For c++ user:
         SomeClass * abc;
Both java and c++
Then toByteArray, toUpperCase...  would be selectable.

vim version is 6.xx
         :Oofun String to
First parameter is name of the class , the second is the function name ( partly)
Then toByteArray, toUpperCase...  would be show in command window.

One command is added, It's used to check variable type
         :Ootype varname

TODO list :
         ctags's support for jdk1.5 , something incorrectly. like ,java.util.Vector
         Advanced varible define selector. Something lik normal command gd

         The last, my poor document  and my poor English,

install details
tar -xzf oocomplete.tgz -C$VIMFILES

VIMFILES is your vim script dir , for Mandrake10.1  is

For windows: may be

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
oocomplete.tgz 1.00.2 2005-02-14 6.0 JiuTian Zhang More effective for Java and c++ .
Variable type search is improved.
oocomplete.tgz 1.00.1 2005-02-13 6.0 JiuTian Zhang Simply support for c++
oocomplete.tgz 1.0 2005-02-12 6.0 JiuTian Zhang Initial upload
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
SourceForge.net Logo