SageMath support in Jedi (hence in jedi-vim)

asked 2020-04-16 21:32:49 +0200

petRUShka gravatar image

I want to make jedi (autocompletion, static analysis and refactoring library for python) to understand Sage code. I want to integrate it with vim via jedi-vim but there are plenty of other editors\IDEs with support of jedi

There is a discussion with some evidence of possibility of that combo:

Well, I wound up figuring this out. I just had to turn the problem around and include the sage path in the normal python path (export PYTHONPATH=/usr/lib/sagemath/src) - not switch the Jedi interpreter to be the sage interpreter. Seems to work well now. Thanks for the response!

But I cannot figure out what should I do to make it work.

P.S. It seems that there are some successes on the subject with different approaches: PyCharm (windows) and Vscode.

edit retag flag offensive close merge delete


This would be great! Has there been any progress on this yet?

Bakerbakura gravatar imageBakerbakura ( 2021-02-02 15:14:36 +0200 )edit