Ⅰ. 插件描述
Deprecated - please use vim-androidⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'donniewest/vimstudio'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'donniewest/vimstudio'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'donniewest/vimstudio'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/donniewest/vimstudio
Ⅳ. 文档说明
VimStudio - an Gradle/Android Neovim plugin - batteries included
This is a Vim Plugin for Android development based on the superb Vim-Grand which is in turn based on hsanson/vim-android.
Requirements
- Neovim w/ Python 3 installed
- exuberant-ctags for the
VimStudioCtagscommand. - Neomake for syntax
checking. - artur-shaik/javacomplete2 For code
completion and classpath gathering
Installation
If you don't use one already, install a package manager plugin like Pathogen
or Vundle. It makes installing as simple as:
vim-plug:
- Add the line
Plug 'DonnieWest/VimStudio'to your .vimrc - Call
:so %on the updated .vimrc to reload it. - Run
:PlugInstallto let vundle install it for you.
Features
Warning! VimStudio currently only works on Unix systems
:SetupVimStudio Sets the compiler to be Gradle and builds the project. Relies on the JavaComplete2 plugin
:Gradle is a wrapper around the gradle command line interface
:ADB is a wrapper around the adb command line interface
:VimStudioEmulator autocompletes and launches emulators available on your system
:VimStudioInstall installs the apk on a device of your choice
:VimStudioCtags Generates a tags file in the background using exuberant-ctags.
This way you can jump to classes (even Android source files) simply by
pressing CTRL-].
*VimStudio sets gradle to be the compiler
Contributing
Please do! You know the drill. Just
issue and
pull.
License
Copyright (c) Leon Moll & Donnie West. Distributed under the same terms as Vim itself.
See :help license.