Neovim Plugins for a Better Integrated Experience — Part 3

Plugins to have an IDE-like experience in Neovim.

alpha2phi
4 min readDec 30, 2021
Neovim Plugins for a Better Integrated Experience

Let’s check out plugins to have an IDE-like coding experience in Neovim.

This article can be read independently from the other related articles.

Better Refactoring

refactoring.nvim uses nvim-treesitter to provide basic refactoring features previously only available in an IDE.

Currently, it supports the following refactoring operations (as per the Refactoring book by Martin Fowler).

  • 106: Extract Function
  • 119: Extract Variable
  • 123: Inline Variable

Besides, it also comes with debugging features to automate the insertion and cleanup of print statements.

To install it using packer.nvim,

use {
"ThePrimeagen/refactoring.nvim",
event = "VimEnter",
config = function()
require("config.refactoring").setup()
end,
}

In the refactoring.lua file, I configure it to show up using Telescope.

--

--

alpha2phi

Software engineer, Data Science and ML practitioner.