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
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
Press F1 and enter one fo the following:
Titanium: build
Titanium: shadow
Titanium: appify
Titanium: clean
Just follow the steps. Here is an example.
Use CMD+L or CTRL+L to open alloy 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"
The following are the commands that you can assign shortcuts to:
extension.openAlloyFiles
extension.tiBuild
extension.tiBuildShadow
extension.tiBuildAppify
extension.tiClean
To Do (maybe):
- TSS/STSS syntax highlight and completion
- Integrate titanium-typescript for
js
completion