PowerShell / PowerShell/PowerShellEditorServices

PsesDocumentHighlightHandler debug log doesn't display list contents.

Aperta
#2,278 0 commenti 1 reazione 2 assegnatari Vedi su GitHub

@JustinGrote ci sta già lavorando.

Dal 13/4/2026.

  • #2279 di @copilot-swe-agent — aperta
Issue-Bug Needs: Triage
Lingua principale
C#
Stelle
767
Fork
266
Merge medio
3g 16h
PR unite (30g)
1

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.