Disable the `source.organizeImports` implementation?
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- python
- Área
- developer-experience, tooling
Línea de trabajo
Start by locating where pylsp-rope registers its source.organizeImports implementation and how the project exposes configuration options. Check the existing tests for that capability and add a case for disabling it through configuration. Done means the option is documented and a test confirms the handler is unavailable when disabled; the issue does not name specific files or tests.
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 / EGlot
- Python version: 3.12.4
- Operating System: Fedora Workstation 40
Description
I'm trying to (automatically) sort my imports on
save using python-lsp-ruff but the organize imports
of pylsp-rope makes me have to manually choose between
using ruff and rope for sorting.
Details
I've enabled pylsp-rope for its refactoring abilities.
I see that it also exports an implementation of
source.organizeImports but I'm also using
python-lsp-ruff 2.2.0 and would prefer to use its
builtin import sorting.
What my editor gives me is the possibility to manually
choose between the ruff version and the pylsp-rope
version when source.organizeImports gets invoked.
It would be neat if it was possible to disable the
source.organizeImports implementation for pylsp-rope
so I didn't have to do this manually. Would it be possible
to export such a knob in the configuration? :)
- Lenguaje dominante
- Python
- Estrellas
- 145
- Forks
- 8
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de python-rope/pylsp-rope
-
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
python-rope/pylsp-rope#38 ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 42/100
python-rope/pylsp-rope#32 · 2 comentarios · 7 reacciones ·
-
Questions on rename featuresPosiblemente ocupada @mcepl la tomó hace 312 días. Abierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 25/100
python-rope/pylsp-rope#29 ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
python-rope/pylsp-rope#19 · 3 comentarios ·
-
documentation good first issue help wanted
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
python-rope/pylsp-rope#18 · 4 comentarios · 4 reacciones ·
Todos los issues de python-rope/pylsp-rope
Issues similares
-
ChatBedrockConverse changes the keys of JSON tool results to camelCase (`order_id` becomes `orderId`)Posiblemente ocupada @geyazheng la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
langchain-ai/langchain-aws#1469 ·
Los mantenedores suelen responder en 1 día
-
GCToggler leaves collection enabled if the body re-enables itPosiblemente ocupada @Gambit-Checkmate la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 7 días
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 88/100
EESSI/docs#949 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
doronz88/pymobiledevice3#2176 ·
Los mantenedores suelen responder en 1 día
-
b4b usability
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día