Hacktoberfest 2026: die Issues, die Maintainer für den Oktober markiert haben – offen und einsteigerfreundlich. Hacktoberfest-Issues durchsuchen

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

Offen
#213 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
35/100
Issue-Typ
Bug
Klarheit
Muss geklärt werden
Aktivitätsstatus
Veraltet
Tech-Stack
powershell, vscode
Bereich
tooling

Rechercherichtung

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.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

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

Vorherrschende Sprache
PowerShell
Sterne
151
Forks
55
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beitragsleitfaden

Beitragsleitfaden öffnen

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus PowerShell/EditorSyntax

Alle Issues in PowerShell/EditorSyntax

Ähnliche Issues

Weitere Issues zu DevTools

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.