Closed martinbean closed 7 years ago
Seems the trait syntax messes up further syntax highlighting too:
I believe both issues have already been fixed, and I will be looking into creating a patch release.
@50Wliu Awesome! Thanks for addressing this Issue so quickly.
Is there an ETA on the patch version?
These styling issues have made their way in the stable version of Atom for me now 😢
I can't commit to a timeframe, but I can confirm that a hotfix will be released for these issues.
Looking forward to it, @50Wliu . I can confirm 1.20.0 is also affected.
Hey, i'm still having this issue. Didn't found any update yet that fixed this.
I made a little css fix to go back what I was used to. Just add the css code to the atom styling.
/**
* Fix for PHP Language
*/
.syntax--use .syntax--class.syntax--php,
.syntax--method-call .syntax--entity.syntax--name.syntax--function,
.syntax--punctuation.syntax--definition.syntax--class.syntax--bracket.syntax--curly.syntax--php,
.syntax--punctuation.syntax--definition.syntax--class.syntax--bracket.syntax--curly.syntax--php,
.syntax--namespace + .syntax--class.syntax--php {
color: #abb2bb;
}
.syntax--comment .syntax--class.syntax--php {
color: #5c635f;
}
Is it possible to get an ETA for the “official” fix? As this has been “broken” for some weeks now.
Prerequisites
Description
The syntax highlighting of PHP files seems to be messed up in Atom Beta (version 1.21.0), compared to previous, stable versions of Atom.
Steps to Reproduce
Expected behavior: Same syntax highlighting as the stable version of Atom.
Actual behavior: Difference in syntax highlighting when compared to stable version of Atom.
Reproduces how often: Every time.
Versions
1.21.0
Additional Information
Screen-shot of PHP file in stable version of Atom:
Screen-shot of same PHP file in Atom Beta:
Differences:
Request
in imported namespace is yellow, instead of grey like the rest of the FQCN.Response
in DocBlock parameter type-hint is yellow, instead of grey like the rest of the type-hint.view()
function is blue, whereas it’s grey in the stable version of Atom.I’ve only tried this file, so I don’t know if there are any more syntax highlighting inconsistencies between the stable and beta versions of Atom.