Skip to content

anddam/android-javacomplete

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

What is this?

This is a plugin that adds Android SDK jar to CLASSPATH when using javacomplete plugin allowing you to complete classes from Android SDK.

Install

Copy java.vim to ~/.vim/after/ftplugin/ this will load the script whenever 'java' filetype is set.

Edit s:androidSdkPath in java.vim accordingly to your Android SDK path.

Usage

Cd to an Android project, start vim and you're done. I use NERDTree so I'm usually strating vim at a project's root as habit.

The script will recognize this is an Android project by checking AndroidManifest.xml and will get the target from project.properties, then it will prepend the jar path to CLASSPATH and the Android API will be available to omnifunc completion.

License

As usual (will fill in when I'll manage to understand license-world).

Enjoy

About

Load Android jar when using javacomplete plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published