GithubHelp home page GithubHelp logo

JSX syntax highlighting about haxe-react HOT 4 OPEN

jeremyfa avatar jeremyfa commented on July 21, 2024 2
JSX syntax highlighting

from haxe-react.

Comments (4)

elsassph avatar elsassph commented on July 21, 2024

This is looking awesome.

from haxe-react.

kevinresol avatar kevinresol commented on July 21, 2024

@jeremyfa I am testing your fork and there is no "issues" page there, so I post here:

Seems the syntax will break if there is a single quote inside the string, although is has been escaped.
screen shot 2016-04-08 at 5 26 53 pm

from haxe-react.

kevinresol avatar kevinresol commented on July 21, 2024

And inconsistent format for enum with & without parameters

screen shot 2016-04-08 at 5 42 13 pm

But it seems tricky, because it is hard to know what the identifier actually is, by just looking at the syntax.

from haxe-react.

jeremyfa avatar jeremyfa commented on July 21, 2024

Thanks @kevinresol for the feedback!

Right now enum values look different because the ones with parenthesis are interpreted as function calls. But it can be fixed for sure! That said, I am wondering if we wouldn't want to keep them a bit different still? (I mean, still differentiate enum values with parameters and enum values without) idk

I will check the single quote in xml too, thanks!

Also, issues were indeed disabled on the repo, but I enabled them (I didn't notice they were disabled at the first place).

from haxe-react.

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.