refactoring.nvim
debugprint.nvim
refactoring.nvim | debugprint.nvim | |
---|---|---|
37 | 9 | |
2,475 | 269 | |
- | - | |
8.8 | 9.5 | |
about 2 months ago | 9 days ago | |
Lua | Lua | |
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.
refactoring.nvim
-
My 2024 PDE: NeoVim
Treesitter is a syntax parser that'll build a tree-like structure to enable anything from excellent syntax highlighting through to complex refactoring. There are so many creative ways you can use Treesitter, from jumping around text objects to commenting sections of code, it's a must-have in my books.
-
Refactoring tools
Is there any refactoring plugins for Neovim besides https://github.com/ThePrimeagen/refactoring.nvim?
-
change arguments of a function
refactoring.nvim is, that I know of, the closest we have to IDE-like refactoring features such as this, but does not have this feature. It would make C development much nicer imo. Perhaps a feature request there may gain traction.
-
What does it mean if TSNode:has_changes() returns true? (implementation of command-preview for refactoring.nvim)
I'm trying to make a naive implementation of command-preview for refactoring.nvim. Currently, my naive implementation is working (since the changes made to a buffer for previewing are discarded by neovim, I'm executing the plugin regularly in order to preview the changes and when the user submits the command to make the changes).
-
First PR using NeoVim, but need help moving forward
refactoring.nvim and null-ls.nvim may help
-
In neovim ,how to do refactoring python code?
refactoring.nvim is one option. Unfortunately what powers VSCode is the proprietary PyLance and AFAIK there is no way to "Move symbol to file (method will be moved) [and have imports renamed subsequently]".
- Discussion: what functionality is Vim missing?
-
New Plugin: ruby toolkit
Just a heads up, I added a lot of Ruby support in ThePrimeagen's Refactoring.nvim plugin some time ago. Covers a lot of what you've created and has support for lots of other languages too
-
Treesitter query language
It's a pain to learn. I used the online playground and also read a lot of the queries from popular plugins. I contributed Ruby support to refactoring.nvim which helped me learn a tonne too
-
neovim-related: Are there good refactor plugin for elixir?
You might be able to take the ruby one and make an elixir one. It uses tree-sitter queries which you would need to align up with the elixir, but the syntax is kinda close. See https://github.com/ThePrimeagen/refactoring.nvim/blob/master/lua/refactoring/treesitter/langs/ruby.lua
debugprint.nvim
-
debugprint.nvim now at v1.5.1 - check it out to create debug/print statements with ease
Folks, approximately a year ago I announced debugprint.nvim v0.1 here on r/neovim, a plugin to easily insert print-type statements into your code for debugging purposes; I'm happy to announce this since matured a lot and has reached v1.5.1. debugprint.nvim now supports 20 languages out-of-the-box, including virtually every popular modern language, can be extended to support more, and supports modern and classic NeoVim features, like dot-repeatability, normal/visual/operator-pending modes, Treesitter variable integration, and more.
-
Is there a canonical pattern for plugins to allow for keymap customization?
Since I know there are quite a few fellow plugin authors on here (and plenty of users who may have an opinion too!), I wanted to ask a question / start a debate about the canonical way to customize keymappings for a NeoVim plugin. I maintain two plugins, debugprint.nvim and wrapping.nvim, both of which allow for users to customize the keymappings using the following kind of Lua-ish pseudo-code (let's call this Option 1):
-
printer.nvim - Operator for quickly adding print/logging statements with text from textobject or visual range
Good work! I know I’m promoting my own work here (sorry!) but worth pointing out that my own https://github.com/andrewferrier/debugprint.nvim also already does this. Do you see any differences between the two? Are you interested in combining forces?
- Looking for a plugin that automatically generates a log/print statement for different languages
-
Help re-discovering a treesitter based print debugging plugin?
https://github.com/andrewferrier/debugprint.nvim ?
-
Guidance for choosing the keys to remap
Of course, there are also keys like g? which technically have a purpose but almost everyone doesn't use. Which is why I map g? by default in my debugprint plugin ;)
-
Announcing debugprint.nvim - debug via print() statements with ease!
For anyone already using debugprint.nvim, please be aware that I just pushed a breaking change to the default keybindings. This is for consistency, and I don't plan to make this kind of change regularly (!), but thought now was the time to do it before too many folks picked it up. Details here, including how to restore the old keys if you preferred them.
What are some alternatives?
nvim-lsp-ts-utils - Utilities to improve the TypeScript development experience for Neovim's built-in LSP client.
wrapping.nvim - Plugin to make it easier to switch between 'soft' and 'hard' line wrapping in NeoVim
react-extract.nvim - Neovim plugin for extracting jsx into React component
printer.nvim - Neovim plugin adding debug printing operator
rust.vim - Vim configuration for Rust.
easytables.nvim - Easily insert and edit markdown tables using Neovim with a live preview and useful helpers
pyright - Static Type Checker for Python
nvim-snips - My custom luasnip snippets mainly targeting my development work
nvim-treesitter-refactor - Refactor module for nvim-treesitter
logsitter.nvim - Makes debugging easy by automating the process of writing logs, for NeoVim
nvim-dap-ruby
vim-debugstring - Debug printf()-style at the speed of light