Open rbuckton opened 3 years ago
Hi,
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.
Duplicate of #29.
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