Practical syntax colors

I just thought I'd share my color settings. They are by no means perfect but I am hoping others who like it will improve them.
What I like to do is use shades of the same color for different languages. HTML is blue, CSS is yellow, Javascript uses green shades and PHP red. This way you an see blocks of code much easier in files (for example, a block of javascript which uses shades of green, stands out in the shades of blue of an HTML file etc.)
To me this makes much more sense than to use unrelated colors throughout all languages.
It's a dark color scheme (meaning the background is dark grey).

Let me know what you think, and above all, please improve on it if you want.



Attachment(s):
Pent.xml
5 comments
Comment actions Permalink

Thanks for sharing! A screenshot demonstrating bird-eye view on code might be useful :)

0
Comment actions Permalink

You are welcome, and you are right. Here is a screenshot of PHP file with a little Javascript and a lot of HTML in it.



Attachment(s):
colors.png
0
Comment actions Permalink

This is just perfect! Currently working on some large files with all 4 "languages" in it (HTML-JS-PHP-CSS) and combined with the injected language feature of phpstorm (i love it) I can instantly see the structure of the document. Wow!
thanks so much for this. Makes you wonder why people never did color coding like this before.

0
Comment actions Permalink

I improved on the original and made it available on bitbucket here:
https://bitbucket.org/Umber/colorstorm/wiki/Home

It is still not 100% to my satisfaction, but it is continually improving.

0
Comment actions Permalink

I will use this for a while. Thanks for posting it!

0

Please sign in to leave a comment.