In this version we fixed a lot of library bugs and you should get most of the functions you expect to show up in the autocompletion. Code templates are deprecated in favor of the new fuzzy autocomplete. It is simple yet powerful, just keep these rules in mind:
Autocomplete rules
- To support camel case queries, the first letter of any variable is automatically capitalized during processing.
ie display.newCircle will be interpreted as Display.NewCircle (will not change your code obviously) - lower case queries will be matched with lower case only if maximum 3 letters away from the previous match
ie: rtime will match “Runtime” but rime will not - Lower case queries will match upper case letters regardless of how far they are form the previous match
ie rael will match “Runtime:addEventListener” (the “a” in “addEventListener” is matched b/c it is internally capitalized) - All capital letters will be matched to only capital letters.
ie “dne” will match display.newCircle, newRect, newImage… but “dnE” will only match display.newEmbossedText - Numbers are matched regardless of how far away from the previous match.
ie mf2 will match “myFunction2”
You can use any combination of the above to construct some powerful queries.
Perhaps the best way to demonstrate this is to list some possible ways to get
Runtime:addEventListener
Runael
raddE
ralist
RAEL
raeventL
runaddevenlist
Try it out! And please report any issues as you see them.
Regards,
M.Y. Developers [import]uid: 55057 topic_id: 31241 reply_id: 331241[/import]