Priority of autocomplete suggestions editable?

Answered

Hi,

I wonder if it'd be possible to prioritize certain suggestions of autocomplete? E.g. typing "re", I'd really prefer "return" to get highlighted as the default suggestion; in latest PyCharm, it started to offer "reduce" instead, which is way way less used by me - actually, usually, I'd prefer "return" even to names of possible local variables..

Thanks so much!
Stepan

1
1 comment

Hi Stepan,

As soon as you choose the needed option from code completion popup more than once, PyCharm will remember the choice and reorder the list of suggestions putting the option to the top.

So it's kind of "reordering on the fly" feature.

-1

Please sign in to leave a comment.