You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Syntax highlighting problem with ValidateScript parameter attribute #17
The [ValidateScript({ ... })] parameter attribute is commonly used to perform customized validation on parameter values that a caller passes into a PowerShell function. In Visual Studio Code 1.4.0, running on Windows 10 Anniversary Update, with version 0.7.1 of the PowerShell extension, the syntax highlighting inside this parameter attribute is incorrectly handled.
Expected Result
The syntax highlighting should work consistently both inside and outside of a [ValidateScript({ ... })] parameter attribute.
Thanks Trevor! This may have been one of the things Øyvind Kallstad (@gravejester) fixed in the new syntax definition so we'll double check that before we roll it out again.
Activity
daviwil commentedon Aug 30, 2016
Thanks Trevor! This may have been one of the things Øyvind Kallstad (@gravejester) fixed in the new syntax definition so we'll double check that before we roll it out again.
omniomi commentedon May 21, 2018
Fixed by #94