Oliver Wehrens
Seasoned Technology Leader. Mentor. Dad.
Oliver Wehrens

Coloring your IDE

- 2 min

Your IDE does a great job in helping you to program. This includes advanced features like Refactoring, Code completion and support for nifty frameworks. But it can do much more.

Most of the time you actually read the code instead writing it. So how about to make this a bit more pleasant experience (well it was for me at least). Most of the people I see use the standard color scheme of the IDE. I was using it for way to long, that’s for sure. Ever since I tweaked it just a little bit I do find my way around an editor window much more easily.

A couple of things are very easy and provided me with great value. Coloring your IDE

  • Give your method names a color, this will make it very explicit that something else is called here.
  • In most IDE you colorize variables with read/write access if you select them. Choose bright colors so you can easily grasp where this variable is used.
  • Magic number/strings are usually not desired. Make those very ugly to look at so you really want to get rid of them.
Several people like to have big fonts for coding. If less text fits on one screen without scrolling you are likely to code smaller methods/classes. I’m not so sure about that one I just find it aesthetically not very pleasing.