JavaRun : Compile and run Java program
script karma |
Rating 374/192,
Downloaded by 11829 |
Comments, bugs, improvements
|
Vim wiki
|
created by |
Kendrew Lau |
|
script type |
utility |
|
description |
Save/compile (if necessary) and run the Java, Python, Perl, Ruby, Tcltk or CLisp source program in the current buffer.
Some useful abbreviations for Java programming, e.g. psvm for "public static void main(String[] args) { }", cl for class, etc. |
|
install details |
Source this .vim file or put it in the plugin directory.
On editing a Java or other program, execute :Run [args...]<CR>
where args are optional command line arguments to the program.
Alternatively, just press <F5> to run the program without arguments.
This script use the jikes compiler for Java program by default. You may change to javac by modifying the makeprg and errorformat options inside the script. |
|
script versions (upload new version)
Click on the package to download.
JavaRun.vim |
0.2 |
2002-11-18 |
6.0 |
Kendrew Lau |
Added useful abbreviations for Java programming, e.g. psvm for "public static void main(String[] args) { }", cl for class, etc.
Added key mapping for <F5> to run the program.
Added support for running Python, Perl, Tcltk, Ruby, CLisp programs (according to file extension).
|
JavaRun.vim |
0.1 |
2002-03-13 |
6.0 |
Kendrew Lau |
Initial upload |
ip used for rating: 3.144.237.87
|