Skip to content

jamesw/SublimeAndroid

 
 

Repository files navigation

SublimeAndroid

This is a work in progress!

Expects a properly configured android project via sdk command line tools. From project directory:

android update project -p ./

Installation

This package depends on a submodule.

For a fresh install:

git clone --recursive git://github.com/dskinner/SublimeAndroid.git

If updating from a previous install without the submodule

git pull
git submodule init
git submodule update

Features

  • Automatically configures external packages.
    • SublimeJava
    • SublimeLinter
    • ADBView
  • Identifies project directory and target platform for autocompletion.
  • XML autocompletion (incomplete) in layouts for tags, attributes and values.
  • Identifies multiple android projects in a sublime project.
  • Build commands for ant
  • Launch sdk tools

Setup automatic builds

Ant

Create a new target in custom_rules.xml:

<target name="compile" depends="-compile"/>

Add the following to sublime project settings

"sublimeandroid_default_ant_target": "compile"

This will perform just enough to allow for quick builds and provide autocompletion via SublimeJava

About

Sublime Text 2 plugin for Android development

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published