Questions on rename features

Abierto
#29 0 comentarios 0 reacciones 0 asignados Ver en GitHub

@mcepl ya está trabajando en esto.

Desde el 30/12/2025.

  • #37 de @mcepl — abierto

Evaluación

Dificultad
1/5
Tiempo estimado
Menos de una hora
Aptitud para principiantes
25/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
python

Línea de trabajo

Start with the README sections that describe configuring and using rename support, then inspect the open pull request #37 for related work. Clarify the rename configuration, how users can tell which implementation handles rename requests, and whether Rope adds benefits beyond the native functionality; done when the README answers all three questions accurately.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

  • pylsp-rope version: 0.1.16
  • Text editor/IDE/LSP Client: Emacs (IDE), Eglot (LSP client)
  • Python version: 3.12.6
  • Operating System: MacOS
Description

I just had couple of questions w.r.t. the renaming functionality.

  1. The README states that pylsp.plugins.pylsp_rope.rename should be configured to enable rename support. However, it is unclear to me how it should be configured. E.g. is pylsp.plugins.pylsp_rope.rename a boolean config or something else? Or should I use pylsp.plugins.pylsp_rope.rename.enabled?

  2. Once I have set it the above config correctly, how do I know my LSP's rename function calls pylsp-rope's rename function instead of the default one.

  3. From the README it looks like renaming has only been implemented for variables, classes and functions. To my knowledge, python-lsp-servers native rename functionality already covers this. Would you say that currently pylsp-ropes rename feature does not provide any additional benefit, until the modules and packages renaming have also been implemented?

Thanks and I already really love pylsp-rope as it is!

Lenguaje dominante
Python
Estrellas
145
Forks
8
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de python-rope/pylsp-rope

Todos los issues de python-rope/pylsp-rope

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.