refactoring.nvim VS react-extract.nvim

Compare refactoring.nvim vs react-extract.nvim and see what are their differences.

refactoring.nvim

The Refactoring library based off the Refactoring book by Martin Fowler (by ThePrimeagen)

react-extract.nvim

Neovim plugin for extracting jsx into React component (by napmn)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
refactoring.nvim react-extract.nvim
37 2
2,463 99
- -
8.8 0.0
about 1 month ago almost 2 years ago
Lua Lua
MIT License 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.

refactoring.nvim

Posts with mentions or reviews of refactoring.nvim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-01-11.
  • My 2024 PDE: NeoVim
    2 projects | dev.to | 11 Jan 2024
    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
    2 projects | /r/neovim | 13 Jul 2023
    Is there any refactoring plugins for Neovim besides https://github.com/ThePrimeagen/refactoring.nvim?
  • change arguments of a function
    1 project | /r/neovim | 25 Jun 2023
    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)
    1 project | /r/neovim | 30 May 2023
    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
    3 projects | /r/neovim | 30 May 2023
    refactoring.nvim and null-ls.nvim may help
  • In neovim ,how to do refactoring python code?
    5 projects | /r/neovim | 20 Apr 2023
    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?
    4 projects | /r/vim | 28 Feb 2023
  • New Plugin: ruby toolkit
    2 projects | /r/neovim | 20 Feb 2023
    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
    1 project | /r/neovim | 3 Feb 2023
    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?
    2 projects | /r/elixir | 22 Dec 2022
    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

react-extract.nvim

Posts with mentions or reviews of react-extract.nvim. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-04-22.
  • Extracting JSX into React component
    5 projects | /r/neovim | 22 Apr 2022
    I've added more options that can be useful for class components (configuration of indent and option to add this.props. prefix to props in new component). You can check the example configuration here. Hope it helps!

What are some alternatives?

When comparing refactoring.nvim and react-extract.nvim you can also consider the following projects:

nvim-lsp-ts-utils - Utilities to improve the TypeScript development experience for Neovim's built-in LSP client.

syntax-tree-surfer - A plugin for Neovim that helps you surf through your document and move elements around using the nvim-treesitter API.

rust.vim - Vim configuration for Rust.

dotfiles

pyright - Static Type Checker for Python

nvim-treesitter-refactor - Refactor module for nvim-treesitter

nvim-dap-ruby

neovim - Vim-fork focused on extensibility and usability

nvim-treesitter-cpp-tools - C++ Helper Snippets Using Treesitter

nvim-gps - Simple statusline component that shows what scope you are working inside

LunarVim - 🌙 LunarVim is an IDE layer for Neovim. Completely free and community driven.

orgmode - Orgmode clone written in Lua for Neovim 0.9+.