非常有用的工具:ant_menu.vim : plugin for ant
时间:2007-02-03 来源:jiahaolin
created by |
Shad Gregory |
script type |
utility |
description |
A simple script that provides a pull-down menu and keyboard shortcuts for calling ant, a java build utility. By default, ant.vim assumes that the build.xml file is in the current directory. The user can set the build file in another directory by selecting the "Set build file" option or by using ",s" in command mode. Global options can be set in your .vimrc file. For example: let g:buildFile = 'foo.xml' let g:antOption = '-debug' let g:logFile = 'foo.log' If you are on a windows box and you cannot see compilation errors in your quickfix window, try setting the shellpipe to "2>" in your _vimrc. If you have any suggestions for improvements to ant.vim, send me your changes in a diff. Never used diff or patch? Now's a great time to learn! Win32 users should check out the following sites: http://unxutils.sourceforge.net/ http://www.cygwin.com/ Also this tip is a good place to start: http://www.vim.org/tips/tip.php?tip_id=618 |
install details |
For vim 6, just drop ant_menu.vim into your plugin directory. |
相关阅读 更多 +