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
It appears that a long-standing issue in the PowerShell highlighting grammar is the cause of this.
The extension's built-in (but experimental) semantic highlighting does support enum correctly. You can follow the instructions here to enable that, but it was disabled by default while its stability is improved.
Thanks for the bug report. I'm going to transfer over to the relevant repo.
Prerequisites
Summary
Syntax highlighting for
enum
declarations in VS Code is non-existent:PowerShell Version
Visual Studio Code Version
Extension Version
Steps to Reproduce
Open any
.ps1
or.psm1
file with anenum
declaration.Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: