yomybaby/atom-titanium

Auto completion from config.json (Alloy.CFG.*)

m1ga opened this issue · 4 comments

m1ga commented

Typing and completing images is awesome. It would be a great addition to add Alloy.CFG.* (config.json) completion

http://docs.appcelerator.com/platform/latest/#!/api/Alloy-property-CFG

{
"global": { "key": "defaultValue", "anotherKey": 12345 },
"env:development": {},
"env:test": {},
"env:production": {},
"os:ios": { "key": "iosValue" },
"os:android": { "key": "androidValue" },
"dependencies": {}
}

Alloy.CFG.key;
Alloy.CFG.anotherKey;

It's a great idea. 👍 Thanks!

Please update new version. Alloy.CFG.xxx completion work on XML,JS,TSS.
Thanks for suggestion.

Opps. Just moment. I'll push more code about this. :(

Please, check v0.11.7 :)