yomybaby/atom-titanium

Autocomplete controllers with `/` prefix

Closed this issue · 3 comments

Ti SDK introduced the full NodeJS require-spec. This also includes the recommendation to use / for all require-prefixes, including Alloy controllers. So when I create a new controller using Alloy.createController('my/controller'), it suggests the correct controller, great! But when using Alloy.createController('/my/controller'), it doesn't detect my autocomplete flow. It would be great if it could!

P.S.: The hyperlinking already works!

Great!
I'll check this soon.

Done!
If you type with / prefix, it works property.
if you type without / prefix, / prefix will be added when autocompleting.

This work on xml file (<Require src='/my...)

Check below gif :)
with

Beautiful :)