Neovim Plugins for a Better Integrated Experience — Part 3

Plugins to have an IDE-like experience in Neovim.

alpha2phi

--

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.

local M = {}function M.setup()
local refactor = require "refactoring"
refactor.setup {}
require("telescope").load_extension "refactoring"
end
return M
Extract Function

Note: The user interface is by dressing.nvim.

Debug Print

Better GitHub Integration

We talked about octo.nvim which uses the GitHub CLI to review GitHub issues and pull requests.

github-notifications.nvim is another Neovim plugin to view GitHub notifications in your status line and Telescope popup.

--

--

alpha2phi

Software engineer, Data Science and ML practitioner.