Serverside code colors not as useful

Normally the editor color scheme uses pink text for properties. Below you can see this does not happen:

 

https://nimb.ws/ScWsgx

 

Also functions should be yellow-orange, core functions like console logs should be purple etc. I see this scheme on my React.js projects but not on my backend, Node.js (with Koa.js) projects. Why is that?

 

Phpstorm 2019.2 on Lubuntu 18.04

0

I guess it's either caused by the color scheme or by the fact that the files are associated with a wrong file type.
1. What if you copy one of problematic files to a project where there's no issue with highlighting?
2. Please check if reverting to the default scheme at Settings | Editor | Color Scheme helps.
3. If neither helped, please share a screenshot of the whole IDE window while a problematic file is open.

0

It is on the default color scheme. I noticed copying server.js to server.ts in the same project fixed it. Where are the js color settings stored? I have not modified them unless I am forgetting something.

0

Basically, color schemes can be configured in "Settings | Editor | Color Scheme > JavaScript  and/or TypeScript"

0

请先登录再写评论。