Because I'm no longer using ST2 / ST3. Is someone interested to fork and maintain it?
Alternative plugins:
- https://github.com/MattTuttle/sublime-ti-build
- https://github.com/AoDev/ti-alloy-in-sublime-text-2
Only tested on MacOSX so far.
- Run iPhone / iPad Simulator
- Run Android Emulator / Android Device
- Compile + Build MobileWeb (you need to run at least once via Titanium Studio)
- Clean Build Directories
- Snippets
- Auto-completion
- TSS Syntax highlighting and Auto-completions (Credits goes to AoDev https://github.com/AoDev/ti-alloy-in-sublime-text-2 Thx!)
- Triggers Clean Build when changing tiapp.xml
- Analyze code using Titanium-Code-Processor
The easiest way to install this package is with Package Control. A more complex method is to download and extract the ZIP package to Sublime Text 2 Packages folder:
~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
You need Titanium CLI + Alloy:
- Android SDK Path
- Log Level
- Using context menu
- Using the Command Palette (
Command+Shift+P
on OSX). Just search forTitanium
super+alt+i
Run iPhone Simulatorsuper+alt+p
Run iPad Simulatorsuper+alt+d
Run Android Devicesuper+alt+a
Run Android Emulatorsuper+alt+m
Run MobileWebsuper+alt+g
Generate somethingsuper+alt+c
Clean Build Directoriessuper+alt+l
Analyze (Titanium Code Processor)- To use snippets just start typing "alloy"
- Not able to run on Android? Execute
titanium setup
once and enter correct Android SDK Path - Getting an error like
[Decode error - output not utf-8]
? Adjust encoding in Tita User-Settings.
- Run on iOS device
Auto-Completion file is generated using this PHP snippet: https://gist.github.com/4244185
Please direct any feedback to:
Copyright (c) 2012 Thomas Steur
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.