I'm using sublime text 3 for python development. I have autocompletion turned on as I type, which works. I expect, that when I type an object name followed by a period, a list of object's methods/attributes would popup. It does not happen, so I press
Tab
import time
time.[TAB]
.
self.
import time
timeself.
python completions
code intel
code complice
Jedi
SublimeREPL
Jedi
code complice
%%!
%%HTML
timeself.
time.
.
self.
%%!
I would highly recommend getting rid of your other completion packages and install Anaconda
(no relation to the Anaconda Python distribution). I've been using it for a couple of years now, and I absolutely love it. Basically all you need to do to set it up is provide a path for "python_interpreter"
in Anaconda's settings or in your project's settings, and it just works. No taking forever to index everything like SublimeCodeIntel, and no need to set up a separate linter if you don't want to, because several linters are built-in. Virtualenvs are seamless. Anaconda will see all the modules available to the version of Python specified by "python_interpreter"
, so you don't need to worry about adding extra paths to the environment through settings. Make sure you copy all of the default settings file into the user settings file, then change the options as needed. Project-specific settings override user settings, so you can customize even more by editing your project.
BTW, I'm not affiliated with the project in any way, except for a minor pull request or two, I'm just a very satisfied user.