Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

python - atom IDE how to enable auto-complete code to see all functions from a module

I am using atom IDE for my python projects. there are auto-complete suggestions in some cases but I'd like to know if it's possible to have a list of all possible functions that a imported module has, for instance if i import import urllib when I type urlib. and press (ctrl+tab) would like to see a list with the possible functions/methods to use.

Is that possible? Thanks

like image 384
Alg_D Avatar asked Feb 02 '16 10:02

Alg_D


2 Answers

Atom is getting various modifications. Autocomplete-python package is a handy package which helps code faster. The way to install it has changed. In all new Atom editor go to File->Settings->install search for autocomplete-python and click on install. Voila its done, restart Atom is not required and you will see the difference with next time you edit python code.

Deb

like image 196
Doogle Avatar answered Nov 07 '22 07:11

Doogle


I found the solution for my own question. Actually I had the wrong plugin installed!

So, in the IDE, edit->preferences, and in the packages section just typed autocomplete-python and press install button.

After restart Atom, it should start work :)

like image 37
Alg_D Avatar answered Nov 07 '22 09:11

Alg_D