Triggering a code action with empty range
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 45/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 停滞
- 技術スタック
- python
調査の方向性
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.
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- Python
- スター
- 145
- フォーク
- 8
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
python-rope/pylsp-rope のほかの issue
-
難易度 3/5 1〜2日 初心者へのやさしさ 42/100
python-rope/pylsp-rope#32 · コメント 2 件 · リアクション 7 件 ·
-
Questions on rename features対応中かも @mcepl が 312 日前に担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 25/100
python-rope/pylsp-rope#29 ·
-
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
python-rope/pylsp-rope#28 · コメント 1 件 · リアクション 4 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 35/100
python-rope/pylsp-rope#19 · コメント 3 件 ·
-
documentation good first issue help wanted
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
python-rope/pylsp-rope#18 · コメント 4 件 · リアクション 4 件 ·
python-rope/pylsp-rope の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
huggingface/accelerate#4511 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
pylint-dev/pylint#11791 ·
メンテナーはふだん 1 日以内に返信
-
Rasterio granule reads never retry, so one 503 (Service Unavailable) fails the whole request対応中かも @chuckwondo が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
developmentseed/titiler-cmr#305 ·
メンテナーはふだん 1 日以内に返信
-
community enhancement
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信