S
S
Smoquin2014-01-21 14:28:57
webstorm
Smoquin, 2014-01-21 14:28:57

How to change comment color in LESS code in Webstorm?

Hello, a question directly to Webstorm users.
I recently installed it and I'm just getting used to it, everything is fine in it, but there is one little thing that literally (!) Doesn't let me sleep peacefully. I'm used to my code comments being green . I write a lot in LESS and basically the problem concerns LESS, although I haven’t really come across other languages ​​yet.
So - in any color scheme, comments to the LESS code remain gray. I tried to change it via File - Settings - Editor - Colors&Fonts, but there is simply no setting in the LESS section to select the comment color. And you can't add your own rule! I set the color to green in the General and Default language sections, but this did not affect the display of comments when highlighting the LESS code (still gray).
Can you please tell me how to change the color of comments in the LESS code in Webstorm?
Thank you in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Smoquin, 2014-01-21
@Smoquin

Problem solved:
LESS takes comment color from CSS settings - when setting comment color in File - Settings - Editor - Colors&Fonts section - CSS comments became the right color in LESS too.
Sorry for the false alarm =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question