Syntax Highlighting: region incorrectly highlighted when defined as part of a hashtable

Aperta
#213 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
powershell, vscode
Ambito
tooling

Direzione di ricerca

Start with the linked screenshot and the report's TextMate grammar note; reproduce the issue in VS Code with semantic highlighting disabled and a PowerShell region defined inside a hashtable. Done means that region is highlighted correctly in this case, without changing the reported standalone PowerShell behavior.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Area-Code Formatting Issue-Bug Needs: Triage :mag:
Prerequisites
  • I have written a descriptive issue title.
  • I have searched all issues to ensure it has not already been reported.
  • I have read the troubleshooting guide.
  • I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
  • I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
Summary

image

Seems to be textmate grammar related, happens if semantic highlighting is disabled.

PowerShell Version
7.2.1
Visual Studio Code Version
1.65.0-insider
0283cec6ec2c2d5ec39006a1048b8dc3ea8bc955
x64
Extension Version
2021.12.0
Steps to Reproduce

See above.

Visuals

No response

Logs

No response

Lingua principale
PowerShell
Stelle
151
Fork
55
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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.

Altre issue di PowerShell/EditorSyntax

Tutte le issue di PowerShell/EditorSyntax

Issue simili

Altre issue su DevTools

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.