PowerShell / PowerShell/PowerShellEditorServices

PsesDocumentHighlightHandler debug log doesn't display list contents.

オープン
#2,278 コメント 0 件 リアクション 1 件 担当者 2 名 GitHub で見る

@JustinGrote がすでに取り組んでいます。

2026年4月13日 から。

  • #2279 @copilot-swe-agent による — オープン
Issue-Bug Needs: Triage
主要言語
C#
スター
767
フォーク
266
平均マージ
3日 16時間
マージ済み PR(30日)
1

説明

Prerequisites
  • I have written a descriptive issue title.
  • I have searched all open and closed issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with PowerShell Editor Services itself and does not reproduce in a standalone PowerShell instance, and is not an issue with my editor.
  • I have verified that I am using the latest version of PowerShell Editor Services.
  • If this is a security issue, I have read the security issue reporting guidance.
Summary
2026-04-13 21:27:13.967 [debug] [PSES] Microsoft.PowerShell.EditorServices.Handlers.PsesDocumentHighlightHandler: Highlights: System.Collections.Generic.List`1[OmniSharp.Extensions.LanguageServer.Protocol.Models.DocumentHighlight] | 

Should show the contents or at least the count of the number of highlights and leave the details at the trace level.

Copilot: To fix this issue, get the length of the generic list, and then output a formatted summary of each DocumentHighlight

PowerShell Version
7.6
Editor Version
N/A
PowerShell Editor Services Version
Dev
Steps to Reproduce

See Above

Visuals

No response

Logs

No response

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。