Sublime Forum

Is there a way to change how autocompletion behave?

#1

In python, a column is often used. For example:

if sth is True:
    # do sthing

What normally I would do is I press the Enter right after I typed the column to go to next line. But now this doesn’t work. I got this autocompletion after I upgraded to Sublimetext 4, after I typed the column, the autocompletion option had popped up, then the Enter would select the first result. Is there a way to make it “less smart”?

0 Likes

#2

I’m unable to reproduce that behavior, does it happen in safe mode? Also note that it may assume that : is for a type hint if you’re not using def.

0 Likes

#3

Oops, that was a typo, I meant to type def instead of delf. But I think that was irrelevant, because it won’t change the autocompletion result. I tried to start the sublimetext in the safe mode, and the problem is gone. Can I assume this is caused by some packages?

0 Likes

#4

Possibly that or possibly a key binding that you have in place (or a key binding associated with a package).

0 Likes