Fangread wrote:

> I have written a javacomplete.vim and java_parser.vim for java
> omni-completion. Could you add it to vim?
> You can visit http://www.vim.org/scripts/script.php?script_id=1785
> Martin Stubenschrott did some testing work and gave me many feedbacks
> and suggestions.
> 
> Features:
> - Use the 'java' program to obtain most of the information.
> - Use java_parser.vim to parse the JAVA source files.
> - Support classes defined in source path.
> - Builtin objects in JSP can be recognized. 
> 
> Input context: ('|' indicates cursor position)
> - package.|
> - var.|
> - method().|
> - this.|
> - array[i].|
> - array.|
> - method(|)
> - new Class(|)
> - var.ab|
> - import java.util.|
> - import java.ut|
> - boolean.class.|
> - compound_expr.var.|
> - compound_expr.method().|
> - compound_expr.method(|)
> - compound_expr.var.ab|
> - System.out.println( str.| )
> - System.out.println(str.charAt(| )
> - for (int i = 0; i < str.|; i++)
> 
> Preparation:
> - Just jre1.2 and above. The "java" program should be searched in the
> PATH enviroment variable. 

Sounds good.  I can include it in the distribution.  But perhaps await a
few more comments.  Then e-mail it to me.

A few comments from me:
- The java_parser.vim file should probably also go in autoload, I don't
  see why this needs to be loaded when Vim starts up.
- Does the .class file need to be in the distribution?
- Need to move the remarks for users to some help file.
- Reflection.java does not have any copyright notice.  Did you write
  this?

-- 
hundred-and-one symptoms of being an internet addict:
119. You are reading a book and look for the scroll bar to get to
     the next page.

 /// Bram Moolenaar -- [EMAIL PROTECTED] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\        download, build and distribute -- http://www.A-A-P.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

Reply via email to