emacsorphanage / company-jedi

Company backend for Python jedi
101 stars 12 forks source link

Completion of whole string path #29

Open Nidish96 opened 6 years ago

Nidish96 commented 6 years ago

I just installed jedi-core and then company-jedi. When I tried to use the completion, I found something wierd happening in interactive mode. In the python script buffer, the completion seems to only have the string before the first "dot" in consideration for completion - thus the function "abs", which is a member of numpy is given as a completion for "np.linalg.", which is wrong. On the inferior python buffer on the other hand, this error is not present since it seems to complete the whole string. (I understand that inferior python does not use company-jedi for completion, but ipython's completion since I use ipython for "run-python").

company-jedi

lljr commented 5 years ago

@Nidish96 do you use python3? ~would you mind showing how to set up with python3? In general, I think I cannot get this package to work... do I need to install sudo pip install jedi virtualenv epc and then M-x jedi:install in Emacs mini-buffer?~ I can get autocomplete, but my question is how do you get the documentation box?