PowerShell / PowerShell/vscode-powershell
Semantic Highlighting: Namespace types incorrectly highlighted as functions
Offen
Dieses Issue hat noch niemand übernommen.
Area-Semantic Highlighting
Issue-Bug
- Vorherrschende Sprache
- TypeScript
- Sterne
- 1.9k
- Forks
- 548
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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.
- If this is a security issue, I have read the security issue reporting guidance.
Summary

This should be highlighted as a type, not a function.
Example of correct highlighting:

PowerShell Version
N/A
Visual Studio Code Version
1.68.0-insider
ba2dd825803b5f95d5dcce927afc3a4882ed0f84
x64
Extension Version
ms-vscode.powershell-preview@2022.5.5
Steps to Reproduce
Add the text.
Visuals
No response
Logs
No response
Beitragsleitfaden
Erste Schritte
- Lies das ganze Issue und danach den Beitragsleitfaden des Projekts.
- Schreib ins Issue, dass du es übernimmst — das erspart doppelte Arbeit.
- Forke das Repository und arbeite in einem Branch.
- Öffne einen Pull Request, der die Issue-Nummer nennt.
Rechercherichtung
Beginne damit, das Namespace-Beispiel in Visual Studio Code anhand der Screenshots und der angegebenen Erweiterungs- und VS Code-Versionen zu reproduzieren. Vergleiche die Klassifizierung der semantischen Hervorhebung mit dem korrekten Beispiel; abgeschlossen bedeutet, dass Namespace-Typen als Typen und nicht als Funktionen hervorgehoben werden.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- powershell, typescript, vscode
- Bereich
- developer-experience, tooling
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100