Skip to content

ccdunder/android-javacomplete

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 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 yout Android SDK path.

Usage

Start vim in an Android project -I use NERDTree so I'm starting at a project's root-, you're done.

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.

About

Load Android jar when using javacomplete plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published