eibbors / coffee.node.sublime-completions

Convert latest Node.js api file into CoffeeScript completions for Sublime Text 2
4 stars 0 forks source link

double completion #3

Closed braco closed 11 years ago

braco commented 11 years ago

type

fs.readF

erase back to period, leaving

fs.

type readF again, leaving

fs.readF

autocomplete to "fs.readFile"

output is

fs.fs.readFile ...

eibbors commented 11 years ago

The proper way to enter the completions, since the period resets things, is to pretend there is no dot. If you wanted fs.readFile, you would simply type fsrf, which takes advantage of the fuzzy matching from Sublime Text.

If there's a de facto method of defining completions that I'm not aware of, let me know and I'll make sure to fix it.