srusskih / SublimeJEDI

awesome Python autocompletion with SublimeText
MIT License
938 stars 109 forks source link

Is it possible to tweak some autocompletions? #149

Closed genych closed 9 years ago

genych commented 10 years ago

For example, right now "len(" completes to "len(module, object)" but I want only one parameter like "len(object)". Same with "print(" → "print(value, ...)" (I would like to get rid of ellipsis by default) Thanx!

srusskih commented 10 years ago

Hope this will help you https://github.com/srusskih/SublimeJEDI#function-args-fill-up-on-completion

genych commented 10 years ago

Not really. Or I miss something. I can disable all auto inserting arguments by "auto_complete_function_params": "" (it's reqired for now) but it's very useful feature and all I need is just slightly change it in some cases

srusskih commented 10 years ago

Yeap. Looks like 20/80 law

coobas commented 9 years ago

I agree with genych. The print autocompletion is incorrect. There is no ellipsis required for the print function. In fact, there is no required argument of print at all (in Python). Please consider changing this. Thanks!

TaylorSMarks commented 9 years ago

Couldn't it just offer both suggestions?

crccheck commented 9 years ago

Looks like the only thing you can do is set your user settings to have "auto_complete_function_params": "" to completely disable autocomplete, ...

genych commented 9 years ago

Спасибо, дедушка Мороз!

srusskih commented 9 years ago

Ho-ho-ho!