decosoftware / decosoftware/deco-ide

class "default" rule for syntax highlighting

Open
#100 2 comments 0 reactions 1 assignee Claimed by @dabbott View on GitHub
bug
Dominant language
JavaScript
Stars
5.8k
Forks
300
PR merge metrics
No merged PRs in 30d

Description

OSX 10.11.5
Deco 1.1.2 (0.6.0)

Anytime you use the "default" keyword with a class, the syntax highlighting is laid out as if there is an error. The classname is shown in 'white' instead of orange. In addition it also effects all of the methods inside the class as well. If you're someone like me who likes to put them inline with the class call as much as possible, this can throw you off.

Without **default**: http://d.pr/i/1aWgw
With **default**: http://d.pr/i/1fMTQ

It seems that with a separate line for a default export, the use of default doesn't make a difference (Object in white always), and makes me wonder if there is an inconsistency as well. Anyways, it's not a huge deal, but wanted to at least point it out for the record.

My apologies if this is something fixed in the next release. On the same note, is there a place to check what fixes are in the new release so to not overlap issues?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.