"Continue" is highlighted as a statement/keyword when used as a parameter value

Aperta
#224 2 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
55/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
powershell, vscode
Ambito
tooling

Direzione di ricerca

Reproduce the issue in Visual Studio Code 1.117.0 with the PowerShell language selected, using a parameter value of "Continue". Trace the syntax-highlighting rules for parameter values and keyword recognition; done when "Continue" is highlighted like other parameter values without regressing keyword highlighting.

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

Descrizione

Prerequisites
  • Write a descriptive title.
  • Make sure you are able to repro it on the latest version
  • Search the existing issues.
Steps to reproduce
  1. Create a new file in Visual Studio Code and select PowerShell as the language.
  2. Call a function/cmdlet where one of the parameter values is a keyword, e.g. "Continue".
Image
Expected behavior

Continue is highlighted in white, like other parameter values.

Actual behavior

Continue is highlighted in purple, likely meaning it is being recognized as the continue keyword.

Error details

No response

Environment data
Name                           Value
----                           -----
PSVersion                      7.6.1
PSEdition                      Core
GitCommitId                    7.6.1
OS                             Microsoft Windows 10.0.26200
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.4
SerializationVersion           1.1.0.1
WSManStackVersion              3.0
Version

Version used in Visual Studio Code 1.117.0

Visuals

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.