JL1515
JL1515

Reputation: 431

autocompletion for sublime text 3 package anaconda is slow

I have my anaconda package installed with package installer for Sublime Text 3. The autocompletion feature takes ~ 2-4 seconds after "." to show available options. Has anyone encountered this, if so can you please advise if there is a method to correct this?

I am using a MAC for reference. Thanks!

Upvotes: 2

Views: 4020

Answers (1)

MattDMo
MattDMo

Reputation: 102902

Open your user preferences (Sublime Text → Preferences → Settings—User) and add the following to the top, just after the opening {:

"auto_complete_triggers":
[
    {
        "characters": ".",
        "selector": "source"
    }
],

then save the file and restart Sublime (so that Anaconda reloads and sees the new settings). This should now trigger autocomplete as soon as you hit .. You can also try adding:

"auto_complete_delay": 0,

to instantly trigger autocomplete, but I find the default value of 50 (milliseconds) is fine.

Upvotes: 3

Related Questions