Ⅰ. 插件描述
maven-ide pluginⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin '/maven-ide'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle '/maven-ide'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug '/maven-ide'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/vim-scripts/maven-ide
Ⅳ. 文档说明
The goal of maven-ide plugin is to provide ide functionality for the
development of java maven projects.
Features include:
o Project tree for file navigation and environment context management.
o Quickfix for output of maven plugins compile,junit,checkstyle.
o Optional single source file compilation directly with javac.
o Compilation is background via AsyncCommand.
o Debug using yavdb, allows debug of class main or attach to jvm debug
port.
o Allow attach to a debug process on a remote host.
o Junit run/quickfix/debug.
o Dependency source file and javadoc integration. Javadoc viewing uses
lynx.
o Exctags tag navigation.
o Extract the maven main (source, resources), test (source, resources)
directories from the project pom.xml.
o Auto generation of project environment ie classpath, tag files.
o Dependency management for maven parent/child/sibling projects extracted
from project poms.
o Autocomplete on methods, auto add of imports etc is via the vjde plugin
project.
o Auto build of javadoc from source when it does not exist.