Comments (5)
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.
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.
from cobalt2.
On that one you can see that the arrow functions are not in orange if there is a semi-colon after the state
from cobalt2.
@arnaudambro Wonder if you found a solution for this issue?
from cobalt2.
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:
- https://github.com/sublimehq/Packages/tree/master/JavaScript - The source code for Sublime's JS syntax rules
- https://packagecontrol.io/packages/ScopeHunter - A plugin for Sublime that gets the syntax scope under the cursor
- https://packagecontrol.io/packages/ScopeAlways - A plugin for Sublime which displays the current syntax scope in the status bar at all times
from cobalt2.
Related Issues (20)
- about flat theme HOT 1
- custom style the vscode cursor no longer works in newest vs code Version 1.18.0 HOT 3
- Colorscheme is not activated on php filees.
- White space color changed after updating to Sublime 3.1 HOT 6
- Plans to rewrite in sublime-color-scheme format? HOT 2
- Implement better highlighting for merge conflicts HOT 4
- Fonts do not work after macOS 10.14 update
- Don't get the same color as in the README example HOT 1
- Error highlighting color suddenly is much less visible
- Error loading colour scheme...Bad XML
- php function highlight problem
- Complete color palette? HOT 1
- Help with HTML attribute syntax highlighting HOT 1
- Feature Request: Windows Terminal Color Profile HOT 1
- Create LICENSE
- Color theme mismatch between apps
- Git merge/rebase conflict resolution does not highlight HOT 2
- Open Remote Window appears strongly highlighted HOT 2
- Port for Panic Nova editor?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cobalt2.