/vscode-titanium

Extension for Titanium, Alloy and JAST

Primary LanguageTypeScript

vscode-titanium

Installation

Press F1 and narrow down the list commands by typing extension. Pick Extensions: Install Extension. Select the Extension for Titanium, Alloy and JAST extension from the list

Manual Install

Mac & Linux

cd $HOME/.vscode/extensions

Windows

cd %USERPROFILE%\.vscode\extensions

All Platforms

git clone https://github.com/dbankier/vscode-titanium.git
cd vscode-titanium
npm install

Usage

Build Commands

Press F1 and enter one fo the following:

Titanium: build
Titanium: shadow
Titanium: appify
Titanium: clean

Just follow the steps. Here is an example.

build

Open Splits

Use CMD+L or CTRL+L to open alloy splits.

splits

By default the plug assumes you are using JAST.

You can use the following configuration options to modify the default extensions.

				"alloy.style": ".tss"
				"alloy.view": ".xml",
				"alloy.controller":  ".js"

Keybord Shortcut

The following are the commands that you can assign shortcuts to:

extension.openAlloyFiles
extension.tiBuild
extension.tiBuildShadow
extension.tiBuildAppify
extension.tiClean

Future

To Do (maybe):

License

MIT © David Bankier @dbankier @davidbankier