Questions tagged [jedi]

21 questions
4
votes
0 answers

How to connect to remote python with jedi.el?

How can I connect to remote python with jedi.el? I need to use remote virtualenv for getting possible completions, docs, etc.
sivakov512
  • 516
  • 3
  • 13
4
votes
4 answers

Emacs 25.1 & Python 3.6.0 Integration [Newbie]

Preface: I've been dabbling with python programming for a mere few months now. Previously, I spent most of my programming time using C# with Visual Studio. In the Python world, I've been using PyCharm for my projects. It has excellent…
3
votes
0 answers

xref gets confused by similar class names

If I use evil-jump-to-tag or xref-find-defintions on an inherited class module whose name is the same as a class in my current project, I am taken to the definition in the current project. I would expect to go to the definition given in the…
Lorem Ipsum
  • 4,327
  • 2
  • 14
  • 35
3
votes
1 answer

Autocomplete after dot in python

I haven't used emacs before, but would like to learn how to use it properly for Python development. From the past IDEs I have used I enjoyed the feature to obtain information on possible objects when I press C-SPC. Also after each dot I would like…
Qohelet
  • 165
  • 1
  • 9
3
votes
0 answers

Automatically use appropriate Python version with Jedi.el

Documentation says that it can be done by making some variables buffer local. But how to make it correctly? Can somebody show me example how to configure this jedi.el behaviour correctly? Now I have two virtualenv with installed jedi for python 2…
sivakov512
  • 516
  • 3
  • 13
3
votes
1 answer

Errors in python buffer when type docstrings

When I type any text in docstring I've got an exception right at cursor place. May be it's some python-mode.el addon, I don't know. How should I fix it? I use company-jedi and python-mode.el.
sivakov512
  • 516
  • 3
  • 13
3
votes
1 answer

Spacemacs: Company-Anaconda doesnt work

I recently installed Spacemacs and am new to it. 0.200.2@24.5.2 (spacemacs) / 14.04 Ubuntu same problem with 0.200.2@26.0.50.2 (spacemacs) / 14.04 Ubuntu Syntax Checking etc. is working fine, but i cannot get code completion to work when working on…
NoMorePen
  • 41
  • 6
2
votes
0 answers

Jedi fails to start Jedi EPC Server because python 3.8 is installed and 3.7 not

Is the only solution to downgrade python 3.8 to 3.7 or wait till it is supported? Or are there other options? The error message is this: Error (jedi): ================================ Failed to start Jedi EPC server.…
topkek
  • 79
  • 1
  • 7
2
votes
0 answers

Elpy auto-complete gives incomplete suggestions

I am trying to use Elpy for Emacs to write Python programs. The auto-complete feature suggests all attributes of PyQt5 classes, but suggests only a subset of the attributes of instances of these classes. All attributes of the class QLabel are…
2
votes
1 answer

Company duplicates

I use gtags, jedi and dabbrev for python. Sometimes the duplicates get a bit annoying. I read that using :with should sort out the duplicates problem. However, it does not... Is there a better solution that this? : (add-hook 'python-mode-hook …
1
vote
1 answer

prompt available function list after input dot symbol

I would like emacs show all available functions after input dot symbol, for example, after input re., emacs show search, findall, ... then I can select one of them. I have installed auto-complete mode and jedi-mode, but it only show function…
lucky1928
  • 1,622
  • 8
  • 28
1
vote
0 answers

lsp-jedi debugging

I've encountered issues with lsp-jedi apparently sending a bad message to jedi-language-server which causes an Invalid Params error in Pythons pygls. Having sought assistance from the author(s) of jedi-language-server[1] who suggested it might be an…
slackline
  • 293
  • 3
  • 14
1
vote
0 answers

elpy-goto-definition doesn't work when jedi:goto-definition does work

After installing a fresh install of emacs on a coworkers machine, I got elpy setup with all the correct packages according to elpy-config but elpy-goto-definition always returns 'No definition found'. Running jedi:goto-definition works as expected,…
Silfheed
  • 201
  • 1
  • 9
1
vote
1 answer

Can company-mode show the doc of the functions?

I am using company-mode for backends to auto-complete in Python and emacs is used as command line. (add-hook 'after-init-hook 'global-company-mode) (setq company-auto-complete t) (setq company-auto-complete t) (global-set-key (kbd "C-c C-k")…
alper
  • 1,238
  • 11
  • 30
1
vote
1 answer

How to improve ‘jedi‘ package's load time

When I try to use jedi package I get following message in the minibuffer. This feature requires the ‘jedi‘ package to be installed. Please check ‘elpy-config‘ for more information. Elpy Configuration Emacs.............: 26.3 Elpy..............:…
alper
  • 1,238
  • 11
  • 30
1
2