Y'all@theATL.social
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
codeinabox@programming.dev to Neovim@programming.devEnglish · 6 months ago

Refactoring Using Neovim

joaothallis.com

external-link
message-square
0
link
fedilink
9
external-link

Refactoring Using Neovim

joaothallis.com

codeinabox@programming.dev to Neovim@programming.devEnglish · 6 months ago
message-square
0
link
fedilink
This post is about how you can use Neovim to have refactoring tooling inspired in Refactoring and your tooling from Learn Go with tests. Extract/Inline #I am using refactoring.nvim plugin. Extract Variable #vim.keymap.set("x", "rv", function() require('refactoring').refactor('Extract Variable') end) You need to select the part of your code that you want to extract to a variable and then press rv.
alert-triangle
You must log in or # to comment.

Neovim@programming.dev

neovim@programming.dev

Subscribe from Remote Instance

Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: !neovim@programming.dev
Visibility: Public
globe

This community can be federated to other instances and be posted/commented in by their users.

  • 9 users / day
  • 100 users / week
  • 201 users / month
  • 328 users / 6 months
  • 2 local subscribers
  • 2.8K subscribers
  • 217 Posts
  • 601 Comments
  • Modlog
  • mods:
  • Erlingur@programming.dev
  • Howard Do@programming.dev
  • Lung@lemmy.world
  • UI: 0.19.17
  • BE: 0.19.13-69-g026371327
  • Modlog
  • Legal
  • Instances
  • Docs
  • Code
  • join-lemmy.org