Debugger relies on case-insensitive paths
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 35/100
調査の方向性
test/PowerShellEditorServices.Test/Debugging/DebugServiceTests.cs の 140~141 行付近から始め、大文字と小文字の扱いを再現してください。参照されている LSP クライアントライブラリを含め、生の LSP リクエストとドライブ文字を含むパスがどのように処理されるかを追跡してください。ドライブ文字が小文字になる原因を特定し、デバッガーの動作を回帰テストまたは適切な修正でカバーできれば完了です。
索引モデルが issue の本文から書いたものです。
説明
This odd behavior was first noticed in a test:
It turns out that the URIs and paths we're receiving "over the wire" (in the raw LSP requests themselves) are mostly cased correctly, with the exception of driver letters being lower case. Because of this, when https://github.com/PowerShell/PowerShell/issues/20057 was temporarily fixed by making PowerShell's debugger's _pendingBreakpoints collection case-sensitive, it broke the extension's debugger https://github.com/PowerShell/vscode-powershell/issues/4668.
We need to figure out why those drive letters are coming over lower-case, as the rest of the Windows ecosystem doesn't expect drive letters to be lowercase. Worst case scenario is that we fix the casing as we handle the request, but I'd like to see where the issue originates (thinking perhaps in the LSP client library...) and try to fix it there. Though technically c:/ is valid, and it's mostly PowerShell that's caring about it not being C:/.
- 主要言語
- C#
- スター
- 780
- フォーク
- 267
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PowerShell/PowerShellEditorServices のほかの issue
-
Issue-Enhancement Needs: Triage
難易度 3/5 1〜2日 初心者へのやさしさ 35/100
-
[Bug] None of the string overloads of `EditorExtensionServiceProvider.GetService()` work on .NET.再び着手できるかも @andyleejordan が 143 日前に担当しましたが、オープン中のプルリクエストはありません。 オープン
PowerShell/PowerShellEditorServices#2331 · リアクション 1 件 · 担当者 2 名 ·
-
Area-Language Server Issue-Enhancement
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
PowerShell/PowerShellEditorServices#2315 · コメント 1 件 ·
-
Improve Constrained Runspace Debug Experience対応中かも @JustinGrote が 166 日前に担当しました。 オープンArea-Debugging Issue-Enhancement
PowerShell/PowerShellEditorServices#2294 · リアクション 1 件 · 担当者 2 名 ·
-
Issue-Bug Needs: Triage
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
PowerShell/PowerShellEditorServices#2293 · コメント 1 件 ·
PowerShell/PowerShellEditorServices の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
GamaEdtech/gamatrain-back#977 ·
メンテナーはふだん 1 日以内に返信
-
area-templates triage:bot-seen triage:needs-human
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
microsoft/aspire#22356 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Needs-Triage
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
PowerShell/PowerShell#28432 · コメント 1 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
documentation
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
microsoft/aspire.dev#2184 ·
メンテナーはふだん 2 日以内に返信
-
area-controls-refreshview platform/ios s/triaged
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
dotnet/maui#40314 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信