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
The whole enumeration / enum keyword feels like it's not implemented to have a support for it. Doesn't highlight the keyword or it's content and doesn't offer any snippets.
This seems to be a problem with the TextMate bundle we're using from Sublime Text. GitHub also uses it, this is how the same code gets highlighted here:
enum test
{
listItem1
listItem2
listItem3
}
Looks like there's already a bug filed against the Sublime Text repo for this:
Activity
Satak commentedon Nov 24, 2015
You can see that enum keyword, the name or it's content is not color coded

daviwil commentedon Nov 24, 2015
This seems to be a problem with the TextMate bundle we're using from Sublime Text. GitHub also uses it, this is how the same code gets highlighted here:
enum test { listItem1 listItem2 listItem3 }Looks like there's already a bug filed against the Sublime Text repo for this:
SublimeText/PowerShell#124
Joel Bennett (@Jaykul), any interest in trying to fix that one?
adbertram commentedon Dec 14, 2016
I just ran into this today as well. It would be nice to at least get syntax coloring for enums.
rkeithhill commentedon Dec 19, 2016
Shouldn't this be moved to https://github.com/powershell/editorsyntax and closed here?
daviwil commentedon Dec 19, 2016
Yep!
daviwil commentedon Dec 19, 2016
This issue was moved to PowerShell/EditorSyntax#29