Triggering a code action with empty range
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 45/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- python
- Área
- backend-api-design
Línea de trabajo
Read the code action handling entry point in pylsp-rope and trace how the requested range is passed to Rope; the issue does not name a file or test. Reproduce the empty range case with Neovim, compare it with a cursor-to-end-of-line range, and add a regression test for the intended behavior.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
There is one usability issue with Neovim's implementation of code action. If you hadn't selected a range, Neovim's code action would trigger the code action with an empty range (start position = end position = cursor position) while other Vim lsp clients would send a range between the current cursor position to the end of line. This means that triggering a code action with nothing selected is always going to fail in Neovim LSP.
AFAIK, neither of these behavior are specified in the LSP spec itself so they're both reasonable behavior for clients to do, but this is an issue that can be fixed on our side.
- 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 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 3/5 1-2 días Aptitud para principiantes 35/100
python-rope/pylsp-rope#28 · 1 comentario · 4 reacciones ·
-
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
-
[yugabyted] xcluster set_up and add_to_replication fail for database names containing - . or (Abiertokind/bug priority/medium qa_automation
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
yugabyte/yugabyte-db#37324 ·
Los mantenedores suelen responder en 1 día
-
good first issue
Dificultad 1/5 Menos de una hora Aptitud para principiantes 87/100
btclib-org/btclib-node#2260 ·
Los mantenedores suelen responder en 1 día
-
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