PowerShell / PowerShell/PowerShellEditorServices

PsesDocumentHighlightHandler debug log doesn't display list contents.

Abierto
#2,278 0 comentarios 1 reacción 2 asignados Ver en GitHub

@JustinGrote ya está trabajando en esto.

Desde el 13/4/2026.

  • #2279 de @copilot-swe-agent — abierto
Issue-Bug Needs: Triage
Lenguaje dominante
C#
Estrellas
767
Forks
266
Merge medio
3 d 16 h
PR fusionados (30 d)
1

Descripción

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

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.