Skip to Content
Technical Articles

More syntax highlighting adventures: ABAP keyword colors for Eclipse

If you want an upgrade from your SE80 dark theme, ADT lets you be even more granular and customize colors for each keyword.

And yet, most people don’t bother and instead choose to read code like this

The default colors seem to be based on the SAP logo

instead of this

My colors seem to be based around diversity and inclusion – happy engineering pride!

My design philosophy is to give similar constructs similar colors – types are one color, ifs and switches another, etc. This way you know what you’re dealing with at a glance. You can even use color as a complexity measure – if it’s getting too colorful, maybe you have too much nesting in your code.

I’ve finally bothered to make my color setup open source. You can find the files here.

Look for the ABAP keyword colors section in your ADT settings. This time, there’s even an import button. Color me impressed!

There’s no way I’ve covered everything ABAP has to offer or that my style fits everyone. Feel free to share your own themes or correct something in mine.

1 Comment
You must be Logged on to comment or reply to a post.
  • Interesting options.  Personally I like the first one without so many colors.  Who knows?  I may decide to change something up, just to keep it fun.  🙂