Sublime Forum

Python, Addon which will predict built-in(added modules) functions, Completionlist

#1

I hope this is the right category to put this post :slightly_smiling:
Anyhow! I just bought and installed Sublime Text 3. I have basic knowledge about it, but I’m still in the process of learning it’s features and capabilities.

I mainly program in Python(2.7), so my environment and addons are based on this. But there’s one feature I would like to add which I can’t find:

Is there a Sublime Text 3 addon that will check my python library for modules and built-in functions to be predicted by the completionlist, like PyCharm, which I don’t like :frowning: ?

I constantly find myself in the situation of coding with a module I’m not used to yet (or never used), and have to google for thee right spelling of the function. This would be VERY helpful.

Thanks in advance <3

0 Likes

#2

Have you tried anaconda?

0 Likes

#3

I personally use https://packagecontrol.io/packages/Jedi%20-%20Python%20autocompletion.

https://packagecontrol.io/packages/SublimeCodeIntel is another package that provides auto-completions for Python.

0 Likes

#4

@niklas I have not tried anaconda. I did look at it, but it had so much stuff going on. Too much to keep track on while this is still new to me. And it looks like JEDI is included which I installed btw @FichteFoll.

JEDI was a bit finicky to get working properly. I don’t know if it had some initializing to do, or if it’s just slow, because it wouldn’t always autocomplete the functions in my class if they were below where I was typing. But it seems like the addon I was after!

Now, there’s one aspect of JEDI I would like to extend; the auto complete function params. This feature seems to only put in the params of built-in functions (which is set to “required” btw). It does not extend to my own functions nor 3rd-party library functions.
Any way to achieve this?

Thanks for the answers, both of you! :slight_smile:

1 Like

#5

With Anaconda it autocompletes even non-built in functions (numpy etc), and also provides tooltip help from the doc string. There is a slight lag before autocomplete kicks in on big packages.

Two years ago I played around with the various Python packages but settled on Anaconda. So I guess a lot may have happened with the other packages :slightly_smiling:

Good luck!

1 Like

#6

Great! Works neatly! :smiley: It does not havee 100% of what i want, but I’ll happily take it.

Thanks! <3

1 Like