Questions tagged [python-jedi]

Jedi is an autocompletion library for Python.

From the Jedi website:

Jedi is an autocompletion tool for Python that can be used in IDEs/editors. Jedi works. Jedi is fast. It understands all of the basic Python syntax elements including many builtin functions.

Additionaly, Jedi suports two different goto functions and has support for renaming as well as Pydoc support and some other IDE features.

To use Jedi, the library must be installed. Most users also install an editor plugin.

Plugins exist for Vim, Emacs, Sublime Text, and SynWrite.

53 questions
0
votes
2 answers

Jedi completion does not work for Image object created using Image.open() method

I am using deoplete-jedi to provide auto-completions inside Neovim. I found out that auto-completion does not work if I create an Image object instance using Image.open() method when using Pillow. But for Image instance created using Image.new()…
jdhao
  • 24,001
  • 18
  • 134
  • 273
0
votes
1 answer

Is it possible to embed Jedi in an application on a system where Python is not installed?

I'm working on an (Windows and Mac) application that uses Python as an embedded scripting language. The application includes an internal text editor, implemented using Scintilla, and I'm using Jedi for autocompletion, which generally works…
Rich
  • 7,348
  • 4
  • 34
  • 54
0
votes
1 answer

Python Jedi AutoComplete Without Ctrl-Space

Jedi in Vim allows one to autocomplete in Python by pressing Ctrl-Space. Is there a way for the autocomplete to just work automatically without having to press Ctrl-Space to bring up the intellisense/autocomplete box? Thanks!
Vincent Russo
  • 1,087
  • 3
  • 20
  • 33
0
votes
1 answer

Python jedi autocomplete gets progressively slower

Using the jedi autocompletion library, I'm finding that each call to Script.completions() makes successive calls slower. In the following code, I repeat my run function three times. It's not clear to me why, but each one takes longer than the…
tenuej
  • 129
  • 9
0
votes
1 answer

Incorrect jedi completitions for multiprocessing module in python3

Working with atom's autocomplete-python which uses jedi I've found that there are incorrect suggestions for multiprocessing module in python3. Here is an example: >>> import jedi >>> source = ''' ... import multiprocessing as mp ... mp.Pro''' >>>…
frist
  • 1,918
  • 12
  • 25
0
votes
3 answers

Get a function/class code from a file knowing the line and the column of it's definition

Basically I want to use jedi to retrieve a function's or a class' code from the details of it's definition(s) (path, line, column). To be more explicit, what I really wish is to get the code from a file, that is not executed, static.
khael
  • 2,600
  • 1
  • 15
  • 36
0
votes
1 answer

Autocomplete file name in strings?

I feel like this should be easy, but right now I have SuperTab (I can't install YouCompleteMe because I have vim with python3, not python2) and jedi-vim installed. Most jedi completions work well, but the following fails miserably: file =…
Mike D
  • 727
  • 2
  • 10
  • 26
0
votes
0 answers

vim autocomplete for arguments within tkinter (python3) doesn't work

I'm using vim together with jedi-vim for development (python3). Usually, the autocomplete does trigger when one edits the argument e.g. of a function like in the following figure: You start to type the first characters of an argument and the…
crs
  • 501
  • 1
  • 4
  • 12
1 2 3
4