- Code: Select all
{
"scope": "source.actionscript.3",
"completions":
[
"import adobe.utils.*;",
"import adobe.utils.CustomActions;",
"import adobe.utils.XMLUI;",
"import adobe.utils.MMEndCommand;",
"import adobe.utils.MMExecute;",
"import air.desktop.*;",
"import air.desktop.URLFilePromise;",
"import air.net.*;",
etc etc etc
The problem is that now it conflicts with autocomplete on the current document...
I see those solutions.. and I really don't know if any of those is possible:
1) disable fuzzy search for a particular autocomplete list
2) change order of preference for autocomplete (words in document vs autocomplete list)
3) limit scope of autocomplete list in class definition, so that ST doesn't look at this list when writing inside methods
So what do you think?