There’s various plugins around related to android development in sublime. One thing that was seemingly lacking (or at least I hope I didn’t overlook it) is xml autocompletion for android layouts. So that has been my main focus with https://github.com/dskinner/SublimeAndroid
I’m still fairly new to sublime (under a month of use) but some other things I’d like to add are sane defaults for external packages related solely to android projects along with standard build configurations (or push changes upstream to SuperAnt to catch targets included externally).
SublimeAndroid is not currently in PackageControl as I’ve only made my first commit, and only lightly tested on xml layouts. Assuming you’ve configured a project with:
android update project -p ./
And the project root is one of your project folders, SublimeAndroid should be able to identify your sdk directory along with target sdk and provide tag, attribute, and value autocompletions. For example, <Image
will suggest ImageView
. android:scale
will suggest scaleType
and then further prompt for scaleType options such as matrix
, fitXY
, etc.
If you’re bored and want to hack on something, feel free to hack on this Until then, I’ll post another announcement once it’s a little more feature-filled and in PackageControl.