Javascript Fonts color problem with PhpStorm 2017.1
I've a strange problem since 2017.1. In JS i've set my main text of a blue color. Now as of 2017.1, some of my function/properties font are displayed in black, while in 2016.3 they were correctly in blue. They are correctly recognized by the IDE, as the autocompletion works, but somehow colors are messed-up
This is in 2016 (all is blue):
And this in 2017 (some fields are black):
I've tried everything from Editor -> Colors & Fonts -> Javascript, but nothing seems to work. The only way i found to get blue text is to change Editor -> Colors & Fonts -> General -> Text -> Default Text from black to blue, but this is not a good solution as the default text of the entire IDE is default to blue.
Please sign in to leave a comment.
Hi there,
You may try this:
1) Place caret on such element
2) Invoke "Help | Find Action..."
3) Look there for "Jump to Colors & Fonts" entry
4) You will now should have a popup that would show the styles that affect this element where caret is
(the above is for PHP .. but it's enough to give you an idea of what I mean)
Hello Andriy,
thanks for letting me know this useful feature i wasn't aware of. Unfortunately when i do this on my 'black' variables/methods it says: 'no text attributes found':
Any other idea ?
Well .. try the standard things:
1) "File | Invalidate Caches..." and restart IDE
2) If still the same -- try with all 3rd party (non bundled by default) plugins disabled
3) How does it look with bundled color themes (e.g. Default or Darcula)? First with unmodified. Then try to modify colors for "me" (for example) and see how the rest will look.
4) If still nothing -- file a ticket at WebStorm Issue Tracker (as it's about JavaScript)
Tried all points but had no luck: as you can see even with the default theme colors are messed up:
I think the problem is, in the first line 'me.$form' is not recognized as a valid instance member variable, while me.$quietArea is. Don't know why...
I'll try to open a ticket at WebStorm
Thanks for submitting. Link to a report for anyone interested.