This is a Atom package for Titanium Alloy
$ apm install titanium-alloy
Conflict & Requires Notice
- Alloy 1.8.x setting
- If you use alloy 1.7.x or before, you have to un-check the checkbox of "Is Alloy CLI 1.8.x or later?" package setting because Alloy 1.8 relocates i18n and platform directories.
- Requires
- Hyperclick package for Jump to definition
(Now It will be installed automatically. After relaunch atom, Hyperclick works. Thanks @HazemKhaled #16)- Conflict
- If you using other tss grammar package, such as language-tss. It makes this package doesn't work.
Ti.UI.TEXT_ALIGNMENT_CENTER
.app.tss
.<Require src='
, you can see the suggestions.Alloy.create[Controller|Widget|Model]
, you can see the suggestions.app/assets/images
directory. '/i'
, you can see the suggestions.app/i18n/{language}/strings.xml
L('
, you can see the suggestionsThis feature is a hyperclick provider.
onEventName
property~/.atom/config.cson
. (#42 Thanks @ DouglasHennrich)Hyperclick is triggered by two events:
<cmd>
or <cmd-mousemove>
underlines clickable text under the mouse.<cmd-mousedown>
performs the action associated with the clickable text.<cmd-alt-enter>
performs the action on the text under the cursor.Key Bindings | Command Desc |
---|---|
ctrl-alt-a |
Toggle(open or close) relative files. When close, current file is remained. |
ctrl-alt-shift-a |
Close all relative files. Current file is closed also. |
ctrl-alt-v |
Open view |
ctrl-alt-s |
Open style |
ctrl-alt-c |
Open controller |
On package setting, there is an option to change layout of "Open All related files" command. (2 columns or 3columns)
refer to language-css and language-json, language-tss
This hightlight use css color your current theme. So tss file looks like css file.