jedi
vim-jumpsuite
jedi | vim-jumpsuite | |
---|---|---|
7 | 8 | |
5,664 | 5 | |
- | - | |
7.0 | 0.0 | |
9 days ago | over 1 year ago | |
Python | Python | |
GNU General Public License v3.0 or later | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jedi
-
:help jedi-vi doesn't work at all after installation via vim-plug
I don't use jedi at all, but from a quick glance at the README of the package you've installed, the code you've posted in your post installs the wrong repo; it seems davidhalter/jedi is just jedi's backend. To make it work with vim, install one of the plugins suggested in the README instead (it seems that davidhalter/jedi-vim) is the one you're looking for.
-
code auto-complete
Jedi: https://github.com/davidhalter/jedi
-
What are your bad python habits?
Or better, use refactoring tool like rope, jedi, or whatever you have in your IDE to rename them.
-
Get jedi working in Kate
Get jedi working in Kate · Issue #1539 · davidhalter/jedi
-
IDE Similar to PyCharm for Work
For text completion, Jedi. For automated refactoring, I highly recommend rope. Some of the previously mentioned plugins provides Vim integrations with these excellent tools.
-
Anybody using lsp-mode for python?
Take a look at some LSP servers that use Jedi https://github.com/davidhalter/jedi
-
The Database Inside Your Codebase
I've been playing with some ideas for creating a SQLite database of classes, functions and suchlike found in Python code, so I can analyze my codebases with SQL queries.
I've had some good initial results with https://github.com/davidhalter/jedi - which is the Python introspection library that powers various editor autocomplete implementations. I have a prototype which uses that to create a SQL database of functions, classes and places that they are used.
I've also been playing with https://github.com/github/semantic - it can parse Python, JavaScript and other languages and offers a --json-symbols option which dumps out a JSON object showing the symbols (functions, variables etc) found in the code.
vim-jumpsuite
-
Parse python traceback in the quickfix list.
Oh, you're in luck because I've actually written this exact plugin, it's called vim-jumpsuite. It is personally one of my special weapons that's becoming completely indispensable for me.
-
Which not so well known Python packages do you like to use on a regular basis and why?
vim-jumpsuite: parses python tracebacks and identifies the most "interesting" part of the stack to create a jump list; despite vim being in the name, the python part of the plug-in is usable with any editors that supports parsing grep/quickfix-style output
-
Are you a person who loves reinventing a wheel ?
Here is link number 1 - Previous text "my"
-
Vim setup as a Python IDE with REPL similar to Spyder/VSCode
vim-jumpsuite for creating a quickfix/loclist jumps out of unittest tracebacks
-
IDE Similar to PyCharm for Work
vim-test with lieryan/vim-jumpsuite
-
Open Python error in Vim
For more elaborate cases, I wrote a plugin that summarises python traceback into the quickfix list. vim-jumpsuite is designed to be used when writing unittest/pytest; for each failing test, it'll try to pick the three most important locations that you'll want to jump to. You can also configure certain files/functions to never be picked by vim-jumpsuite.
-
Python Devs who Use Vim, Share Your Expertise!
Plug: one of the most valuable plugin for me are the vim plugin that I wrote myself: lieryan/vim-jumpsuite. It's a plugin to quickly jump to "interesting" line of code from your test suite by converting unittest reports to a Quickfix jumplist. The plugin uses some customizable heuristics to find the lines from tracebacks that are most likely to be most useful to your code.
What are some alternatives?
python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community
pylsp-rope - Extended refactoring capabilities for python-lsp-server using Rope
python-language-server - An implementation of the Language Server Protocol for Python
Python-mode - Vim python-mode. PyLint, Rope, Pydoc, breakpoints from box.
sourcery - Instant AI code reviews
Rope - a python refactoring library
vim-test - Run your tests at the speed of thought
pyright - Static Type Checker for Python
vim-textobj-indent - Vim plugin: Text objects for indented blocks of lines