nvim-treesitter-textsubjects
vim-ultest
nvim-treesitter-textsubjects | vim-ultest | |
---|---|---|
18 | 13 | |
461 | 380 | |
- | - | |
4.3 | 0.0 | |
about 1 month ago | about 1 year ago | |
Scheme | Python | |
Apache License 2.0 | 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.
nvim-treesitter-textsubjects
-
Tree-Sitter
Neovim supports treesitter based selections and "jumps", which I think are awesome
https://www.reddit.com/r/neovim/comments/r10llx/the_most_ama...
Or
https://github.com/RRethy/nvim-treesitter-textsubjects
Helix also supports them by default
- Is there a feature in Neovim similar to Emmet's balance inward and outward in VSCode?
-
Searching for plugin to provide granular treesitter visual mode navigation
nvim-treesitter-textsubjects
- Is there a plugin to select the parent block of code I am in?
-
equivalent to ci{ but for white-space languages?
You could look into treesitter-textobjects and treesitter-textsubjects: they define "smarter" blocks and function boundaries that work relatively well with python and non-parentheses code.
- Is there any neovim plugin that have 'Surround code fragments' functionality like the Jetbrains IDEs?
-
Motion to select a self-closing html/xml/jsx/tsx tag
I haven't got treesitter's own incremental selection working, but this plugin has given me basically the functionality I was after https://github.com/RRethy/nvim-treesitter-textsubjects
-
What do you use treesitter for other than highlighting?
I personally use it for an outline window for my code (aerial.nvim) and quick-selecting code blocks (nvim-treesitter-textsubjects). I've also seen but not used syntax-tree-surfer for code navigation/manipulation and refactoring.nvim for performing refactoring operations. You could also check out awesome-neovim and ctrl-f for "treesitter", though there are many other plugins out there either not on that list or that don't explicitly mention treesitter in their description.
- What are some additional text objects and motions treesitter provides?
-
FAVOURITE PLUGINS
nvim-treesitter-textsubjects while I basically love everything about Treesitter support, this plugin is just super handy when you start to think more than a second how to select the piece of code you like (in fact nothing when it is nothing too trivial from your muscle-mind)
vim-ultest
-
neotest: A modern, powerful testing plugin
How about https://github.com/rcarriga/vim-ultest ?
-
Your lualine custom features
I have one that's half working for ultest. I haven't bothered to get the colors right.
-
FAVOURITE PLUGINS
vim-test & vim-ultest (also essential for work)
-
Debugging in NeoVim
Vim-UltestHelps to debug quickly and easily
- Gathering suggestions for testing/tasks-running plugins
- Make live unit testing work in Neovim and you will have my undying appreciation.
-
debugpy.nvim: Command and API frontend to nvim-dap and Debugpy (debugging Python)
But I haven't yet set up anything properly other than Debugpy. nvim-dap is very barebones, so I feel that the best way is to have an extra configuration plugin on top. Debugpy.nvim is a very specific frontend plugin, but there are also more general plugins like nvim-metals and vim-ultest which also offer integration with nvim-dap.
-
What's the best tool for testing?
Love seeing my plugins in the wild! Just FYI for anyone reading vim-ultest has an integration with nvim-dap which allows you to write debugging configs for any language and debug tests. There are currently recipes for python and go but I'd love to see more added! https://github.com/rcarriga/vim-ultest/wiki/Debugging-Recipes
-
Populate quickfix from a tmux pane
Another thing I use for tests is https://github.com/rcarriga/vim-ultest which allows running the test and seeing the output inside vim, which works quite nice once I have narrowed down the test file that has the failing test.
- Java/Kotlin developers that use NeoVim as their main IDE, recommendations to someone that uses Intellij IDEA for java-dev but nvim for the rest?
What are some alternatives?
nvim-ts-hint-textobjects
vim-test - Run your tests at the speed of thought [Moved to: https://github.com/vim-test/vim-test]
nvim-treesitter-textobjects
nvim-dap-python - An extension for nvim-dap, providing default configurations for python and methods to debug individual test methods or classes.
hop.nvim - Neovim motions on speed!
neovim-remote - :ok_hand: Support for --remote and friends.
orgmode - Orgmode clone written in Lua for Neovim 0.9+.
NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.
treesitter-unit - A Neovim plugin to deal with treesitter units
telescope-dap.nvim - Integration for nvim-dap with telescope.nvim
ts-textobjects - Treesitter textobjects for neovim.
vim-test - Run your tests at the speed of thought