Ⅰ. 插件描述
VIM-Java Bundle for automatic and transparent Java compilationⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'robertbraeutigam/vim-java-build'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'robertbraeutigam/vim-java-build'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'robertbraeutigam/vim-java-build'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/robertbraeutigam/vim-java-build
Ⅳ. 文档说明
Vim Java Build
This VIM-Java bundle enables automatic (re-)compilation of Java sources triggered
by saving the Java file. There are no VIM commands exposed directly, rather this
seemlessly blends into the VIM workflow.
This bundle uses the Changes Plugin
to watch for filesystem changes, and it always recompiles all sources that changed
since the last save. If no files changed, the local file being saved is always recompiled.
All compilations errors will be added to the Quickfix list, so other plugins can be used to
process / visualize the errors as needed.
Uses the Plugin: https://github.com/robertbraeutigam/vim-java-build-plugin
Install
If you are using Pathogen, just clone this into the 'bundle' directory.
You also need to install the VIM-Java Backend and the
Changes Plugin
Usage
There are no additional commands, compile will be triggered on save.