Triggering a code action with empty range
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- python
- Ambito
- backend-api-design
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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.
- Lingua principale
- Python
- Stelle
- 145
- Fork
- 8
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di python-rope/pylsp-rope
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 42/100
python-rope/pylsp-rope#32 · 2 commenti · 7 reazioni ·
-
Questions on rename featuresForse già presa @mcepl l’ha presa 312 giorni fa. Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 25/100
python-rope/pylsp-rope#29 ·
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 35/100
python-rope/pylsp-rope#28 · 1 commento · 4 reazioni ·
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
python-rope/pylsp-rope#19 · 3 commenti ·
-
documentation good first issue help wanted
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
python-rope/pylsp-rope#18 · 4 commenti · 4 reazioni ·
Tutte le issue di python-rope/pylsp-rope
Issue simili
-
[yugabyted] xcluster set_up and add_to_replication fail for database names containing - . or (Apertakind/bug priority/medium qa_automation
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
yugabyte/yugabyte-db#37324 ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 87/100
btclib-org/btclib-node#2260 ·
I maintainer di solito rispondono entro 1 giorno
-
ChatBedrockConverse changes the keys of JSON tool results to camelCase (`order_id` becomes `orderId`)Forse già presa @geyazheng l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
langchain-ai/langchain-aws#1469 ·
I maintainer di solito rispondono entro 1 giorno
-
GCToggler leaves collection enabled if the body re-enables itForse già presa @Gambit-Checkmate l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
I maintainer di solito rispondono entro 7 giorni
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 88/100
I maintainer di solito rispondono entro 1 giorno