justinmahar / SublimeCSAutocompletePlus

CoffeeScript autocompletions and more!
172 stars 12 forks source link

Autocomplete methods with spaces instead of parenthesis #47

Open BKcore opened 10 years ago

BKcore commented 10 years ago

Right now, if I commit an autocomplete of a method call, it spawns parenthesis around the arguments, which is against my regular coding pattern (I use spaces for single non-chained calls).

Is there a way to make CC+ complete methods calls with spaces instead of parens?

Or at least not have CC+ commit the completion when hitting space. For example, right now if I type $.ajax, then hit space, it completes the line with parenthesis instead of actually adding a space. What the desired behavior should be is adding parens when hitting the complete commit shortcut (either enter or tab depending on your conf) and just adding a space when hitting space.

Or is that an issue with one of my conf files? (I made sure my autocomplete commit shortcut is tab and not space)

nfour commented 9 years ago

Agreed.

This should be off by default and to only complete BEFORE the space or ( open paren. At the moment you have to hit backspace twice to remove it.

Please fix!