Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enumeration support #26

Closed
Satak opened this issue Nov 24, 2015 · 6 comments
Closed

Enumeration support #26

Satak opened this issue Nov 24, 2015 · 6 comments
Labels
Up for Grabs Will shepherd PRs.

Comments

@Satak
Copy link

Satak commented Nov 24, 2015

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.

@Satak
Copy link
Author

Satak commented Nov 24, 2015

You can see that enum keyword, the name or it's content is not color coded
image

@daviwil
Copy link
Contributor

daviwil commented 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

@Jaykul, any interest in trying to fix that one?

@daviwil daviwil added syntax-bug Up for Grabs Will shepherd PRs. labels Nov 30, 2015
@adbertram
Copy link
Contributor

I just ran into this today as well. It would be nice to at least get syntax coloring for enums.

@rkeithhill
Copy link
Collaborator

Shouldn't this be moved to http://github.com/powershell/editorsyntax and closed here?

@daviwil
Copy link
Contributor

daviwil commented Dec 19, 2016

Yep!

@daviwil
Copy link
Contributor

daviwil commented Dec 19, 2016

This issue was moved to PowerShell/EditorSyntax#29

@daviwil daviwil closed this as completed Dec 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Up for Grabs Will shepherd PRs.
Projects
None yet
Development

No branches or pull requests

4 participants