This is a Vim Plugin for Android development based on the superb Vim-Grand which is in turn based on hsanson/vim-android.
- Neovim w/ Python 3 installed
- exuberant-ctags for the
VimStudioCtags
command. - Neomake for syntax checking.
- artur-shaik/javacomplete2 For code completion and classpath gathering
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
:PlugInstall
to let vundle install it for you.
: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
Please do! You know the drill. Just issue and pull.
Copyright (c) Leon Moll & Donnie West. Distributed under the same terms as Vim itself.
See :help license
.