Giter Club home page Giter Club logo

Comments (5)

rosston avatar rosston commented on July 4, 2024

I'm using Sublime 3.1.1 build 3176 with Cobalt2 2.0.11 with no problems.

@arnaudambro, can you specify what version of Cobalt2 you're using? And can you maybe provide a screenshot and the relevant portion of your settings?

from cobalt2.

arnaudambro avatar arnaudambro commented on July 4, 2024

Sure ! Here it is below. You can see that React props are no longer italic, and the green color of objects key changed, so has the green color of the imported stuff.
screen shot 2018-05-18 at 15 34 51

from cobalt2.

arnaudambro avatar arnaudambro commented on July 4, 2024

On that one you can see that the arrow functions are not in orange if there is a semi-colon after the state
screen shot 2018-05-18 at 15 37 07

from cobalt2.

aaeabdo avatar aaeabdo commented on July 4, 2024

@arnaudambro Wonder if you found a solution for this issue?

from cobalt2.

rosston avatar rosston commented on July 4, 2024

My strong hunch is that this was caused by updated syntax highlighting in Sublime 3.1 (build 3170). The release notes mention:

  • Many syntax highlighting improvements, including significant improvements to:
    • JavaScript, with thanks to Thomas Smith

For a temporary fix, you could try downgrading to Sublime Text 3.0 (build 3143) (by copying/editing the download links on the download page to refer to the desired build).

Longer term, I think this would require many patches to the cobalt2 syntax theme to fix. I don't use Sublime Text and am not really interested in fixing it myself, but here are some resources I found that could be useful for someone else to fix the issues:

from cobalt2.

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.