In neovim ,how to do refactoring python code?

This page summarizes the projects mentioned and recommended in the original post on /r/neovim

InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • refactoring.nvim

    The Refactoring library based off the Refactoring book by Martin Fowler

  • 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]".

  • nvim-lspconfig

    Quickstart configs for Nvim LSP

  • You will need to make sure that you have a python LSP running (if you are unfamiliar with this, checkout nvim-lspconfig and mason.nvim for getting started. Once your LSP is setup and running on your python file, you can use the various lsp functions (such as the one I tagged)

  • InfluxDB

    Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.

    InfluxDB logo
  • mason.nvim

    Portable package manager for Neovim that runs everywhere Neovim runs. Easily install and manage LSP servers, DAP servers, linters, and formatters.

  • You will need to make sure that you have a python LSP running (if you are unfamiliar with this, checkout nvim-lspconfig and mason.nvim for getting started. Once your LSP is setup and running on your python file, you can use the various lsp functions (such as the one I tagged)

  • Rope

    a python refactoring library

  • Hi, maintainer of rope here. There are a number of different options to use rope in Vim/Neovim, we've documented them in this page https://github.com/python-rope/rope/wiki/Rope-in-Vim-or-Neovim

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Why is nobody using CoC anymore?

    3 projects | /r/neovim | 3 Jul 2023
  • LazyVim and plugins - how to?

    6 projects | /r/neovim | 27 Mar 2023
  • Using LazyVim and Mason.nvim LSP manager. How do I add arguments to the clangd or and LSP?

    5 projects | /r/neovim | 4 Feb 2023
  • How was your learning curve?

    2 projects | /r/neovim | 29 Jan 2023
  • HumanLaTeX: a knowledge base for using Neovim+LaTeX in the humanities and social sciences

    4 projects | /r/LaTeX | 21 Jan 2023