ThePrimeagen/refactoring.nvim
The Refactoring library based off the Refactoring book by Martin Fowler observed · 2026-08-28
Health v2 · maintenance only
76/100
- Activity 97
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 1870
- days_rel: n/a
- days_push: 23
- n_releases_24m: 0
Adoption not part of the score
3644 stars · 105 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
A Neovim plugin providing automated refactoring operations (extract/inline variable and function) and print-debugging helpers, powered by tree-sitter and LSP. It is based on the refactoring patterns from Martin Fowler's Refactoring book.
Use cases
- extract a selected expression into a variable in neovim
- inline a variable into all its references
- extract a block of code into a function
- insert debug print statements with location context
- clean up debug print statements from code
- refactor code inside neovim without leaving the editor
When to choose
- you use Neovim 0.12+ and want IDE-style automated refactorings
- you want tree-sitter and LSP powered extract/inline operations for supported languages
- you frequently add and remove print-debugging statements
When to avoid
- you use an editor other than Neovim
- your language lacks a tree-sitter parser or the required queries
- you need refactoring features beyond extract/inline, such as rename or move method
Facets
plugin · maturity active
developer-tools parser documentation developer-tools text-editors editor-plugin cli neovim refactoring tree-sitter lsp print-debugging code-editing automation
1 source
- readme: https://github.com/ThePrimeagen/refactoring.nvim · fetched 2026-08-28 · 780ac3a9a197
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| ThePrimeagen/refactoring.nvim | main | 76 |
For agents
markdown · JSON · MCP: product_card(name="ThePrimeagen/refactoring.nvim")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem