Giter Site home page Giter Site logo

Enumeration support about editorsyntax HOT 12 OPEN

powershell avatar powershell commented on July 23, 2024 5
Enumeration support

from editorsyntax.

Comments (12)

Satak avatar Satak commented on July 23, 2024 2

Soon this turns 5 years 😁

Good things come to those who wait

from editorsyntax.

kborowinski avatar kborowinski commented on July 23, 2024 1

@omniomi Could you have a look at enumerator coloring in spare time? (#29)

from editorsyntax.

JosKrause avatar JosKrause commented on July 23, 2024 1

Any update on this, we're 3 years later now #curious

from editorsyntax.

Satak avatar Satak commented on July 23, 2024 1

This should finally fix this issue: https://github.com/PowerShell/vscode-powershell/releases/tag/v2020.7.0-preview

from editorsyntax.

daviwil avatar daviwil commented on July 23, 2024

From @Satak on November 24, 2015 17:52

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

from editorsyntax.

daviwil avatar daviwil commented on July 23, 2024

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?

from editorsyntax.

daviwil avatar daviwil commented on July 23, 2024

From @adbertram on December 14, 2016 16:30

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

from editorsyntax.

daviwil avatar daviwil commented on July 23, 2024

From @rkeithhill on December 19, 2016 0:51

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

from editorsyntax.

daviwil avatar daviwil commented on July 23, 2024

Yep!

from editorsyntax.

msftrncs avatar msftrncs commented on July 23, 2024

@JosKrause, have you a chance to look at PR #155? In that PR I have a more complete class and enum scoping. I could probably try to separate that out to a new PR. If you have a chance, also look at PR #156, it demonstrates a more elaborate statement syntax based scoping.

from editorsyntax.

edhaack avatar edhaack commented on July 23, 2024

Sure would be nice to treat "enum" as a real thing... finally.

from editorsyntax.

brandonavant avatar brandonavant commented on July 23, 2024

Looks like there's still no fix for this, 6 years later...

from editorsyntax.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.