vim-rapidrepl
By liavassif
vim-jumpsuite
Jump to "interesting" line of code from your test suite. (by lieryan)
vim-rapidrepl | vim-jumpsuite | |
---|---|---|
1 | 8 | |
4 | 5 | |
- | - | |
1.8 | 0.0 | |
over 2 years ago | over 1 year ago | |
Vim Script | Python | |
- | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
vim-rapidrepl
Posts with mentions or reviews of vim-rapidrepl.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-02-24.
-
Vim setup as a Python IDE with REPL similar to Spyder/VSCode
Been using this setup for a year so I thought I'd share it. Using plugins it features: * Integrated IPython REPL. Starts automatically when Vim is launched (can also use jupyter console instead). * Text editing is mostly done using modern editing shortcuts (Ctrl-PgUp/Down for cycling between buffers, selected text is replaced) with some combination of VIM normal mode commands (save using :w and quit using :qa). See vim tutorial for basic introduction. ESC enters normal mode. Ins or i enters insert (edit) mode. * Code cell navigation similar to Matlab/Spyder/Jupyter notebook (Ctrl-up/down) * Code execution in REPL (using Vim-Slime plugin): Whole file (F5), Cell execution (C-Enter or space-Enter), Single statment/selection execution (Space-1, Space-3), Current symbol under cursor execution (Space-2). All in normal mode. * LSP integration (using Vim-LSP plugin and PYLSP): show/goto symbol (Space-p), goto definition (gd in normal mode), show references (gr) * Using popup menus for usefull commands (using LeaderF plugin): show buffers (C-p), open file (C-l), open last edited files (Space-l), show LeaderF commands (C-x). Use Ctrl-j/k to cycle up and down in the list. * Copy-paste to/from system clipboard works in Editor, REPL and also normal mode. * Debug using (Space-d) which inserts debug statements. Then run the code as usual (F5 or run cell) to drop into ipdb. Alternatively as always you can use IPython %debug when an error occurs. For more advanced usage there is the vim Spector plugin. * Toggle comments using C-/ (normal mode) * Switching between the REPL and editor (Alt-1 or C-W,C-W). Also easily 'inspect' a variable even in ipdb by sending the variable to ipython using the keyboard * Using IPython already have many builtin features, sometimes missing from IDEs: symbol completion in the REPL, REPL search history, kernel interrupting (Ctrl-c), text is auto scrolled at the bottom when output is appended (long for loops) * You can access the REPL output and copy it by using the keyboard (Escape and then the usual editing commands)
vim-jumpsuite
Posts with mentions or reviews of vim-jumpsuite.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-11-30.
-
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?
When comparing vim-rapidrepl and vim-jumpsuite you can also consider the following projects:
pylsp-rope - Extended refactoring capabilities for python-lsp-server using Rope
vim-test - Run your tests at the speed of thought
Python-mode - Vim python-mode. PyLint, Rope, Pydoc, breakpoints from box.
pudb - Full-screen console debugger for Python
Rope - a python refactoring library
vim-textobj-python - Text objects for Python.
python-lsp-server - Fork of the python-language-server project, maintained by the Spyder IDE team and the community
vim-textobj-indent - Vim plugin: Text objects for indented blocks of lines
jedi - Awesome autocompletion, static analysis and refactoring library for python
vim-rapidrepl vs pylsp-rope
vim-jumpsuite vs pylsp-rope
vim-rapidrepl vs vim-test
vim-jumpsuite vs Python-mode
vim-rapidrepl vs pudb
vim-jumpsuite vs Rope
vim-rapidrepl vs vim-textobj-python
vim-jumpsuite vs vim-test
vim-jumpsuite vs python-lsp-server
vim-jumpsuite vs vim-textobj-indent
vim-jumpsuite vs jedi
vim-jumpsuite vs pudb