neotest
sideways.vim
Our great sponsors
neotest | sideways.vim | |
---|---|---|
22 | 13 | |
1,956 | 483 | |
7.1% | - | |
8.3 | 5.5 | |
10 days ago | 5 months ago | |
Lua | Ruby | |
MIT License | 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.
neotest
-
Am I this bad?
My first neovim plugin project was to write an adapter (runner) for neotest, for a language that I use regularly and which was missing from the existing adapters.
- Alternative for running tests
-
Problem with running code
There's overseer.nvim to run all sorts of things and neotest to run tests. In general, you can check awesome-neovim or TWiN to look for plugins.
-
JetBrains Leavers
Here's some things that may help: - https://github.com/mfussenegger/nvim-dap + dap ui - https://github.com/nvim-neotest/neotest
-
Setting up neovim for python code development (tips wanted)
I use neotest to run tests (with pytest).
-
Is anyone using VIM full-time for PHP/Laravel projects?
For testing I use https://github.com/nvim-neotest/neotest which gives a nice outline.
-
neotest-haskell version 0.6.0 released - now with support for both tasty and hspec
For those who don't know it, it's an adapter for neotest, a Neovim plugin that
-
Creating diagnostic entries from test output
You might look at how Neotest handles this, or even see if you can use/contribute to that project directly. It already has support for a fair number of languages at varying levels of maturity.
-
I got fired yesterday for using vim
I am writing Python these days, and LSP + DAP + neotest give me 90% of what PyCharm would have given me. I don't know how well this works with Java, the latter two did not exist when I was still writing Java. The way I did it was use Neovim with jdt-ls to write code and IntelliJ for debugging. Debugging does not require switching between keyboard and mouse, so it was OK to me.
-
[discussion] Why don't more (any?) plugin authors use penlight?
I'm sure that we could figure out a way to install rocks without luarocks, but it's still going to be an additional step with possible complications. Personally, I would rather just embed the library within my plugin like neotest does with xml2lua. The marginal cost of a slightly larger install is more than paid for by an easier install process and a guarantee that it works.
sideways.vim
-
"vi," to select text between comma
There's a number of plugins for an "argument" text object (mine is sideways), but if you're just looking for a simple "change between commas", here's a great SO answer that explains how to create a mapping like that for yourself in two lines: https://stackoverflow.com/a/44109750/853920
-
mini.basics - Common configuration presets for options/mappings/autocommands
sideways.vim: move arguments left and right (I know this is nowadays done with tree sitter, but there isn't a ts grammar for everything so far)
-
Swapping words
Yeah, I use sideways.vim and vim-exchange. (Not entirely sure which solves what OP is asking about.)
- what is your startup time?
-
Swap any 2 comma separated selected WORDS
I use vim-sideways for this. If vim-swap doesn't work out, give it a shot!
- Features I miss from Jetbrains IDEs
-
How to insert text before end of a quote/brackets?
For the second case Sideways has SidewaysArgumentAppendLast. I mapped it to A (shouldn't conflict with other mappings).
-
How can I do delete in commas, change inside periods? Basically treating periods and commas like quotation, etc.
For argument lists, check out sideways.vim which is smart enough to shift arguments around instead of only selecting them.
-
How can i swap words ?
But there's also another "classic" plugin just for this use case: https://github.com/AndrewRadev/sideways.vim I've never used it though, so can't comment on its use, but it looks pretty good.
-
anyone know an elegant way to swap the orders of two parameters in a function call? foo(bar, baz) becomes foo(baz, bar)
Also not a native solution, but I've been using sideways.vim for a while. I have space as my leader and use leader-L and leader-R.
What are some alternatives?
overseer.nvim - A task runner and job management plugin for Neovim
argtextobj.vim - Text-object like motion for arguments
nvim-dap-ruby
nvim-revJ.lua - Nvim-plugin for doing the opposite of join-line (J) of arguments written in lua.
nvim-coverage - Displays test coverage data in the sign column
VSCode-Hungry-Delete - To delete an entire block of whitespace or tab, and reduce the time programmers need to press backspace
vim-ultest - The ultimate testing plugin for (Neo)Vim
vim-argumentative - Argumentative aids with manipulating and moving between function arguments.
nvim - My custom NeoVim setup
switch.vim - A simple Vim plugin to switch segments of text with predefined replacements
refactoring.nvim - The Refactoring library based off the Refactoring book by Martin Fowler
splitjoin.vim - Switch between single-line and multiline forms of code