Customize Syntax Coloring in ABAP in Eclipse
Syntax coloring is a nice feature every ABAP developer loves since the new ABAP editor was provided a couple of years ago.
But you can only use it to distinguish between keywords, non-keywords, literals and comments. But keywords are all colored the same way in the ABAP editor.
In Eclipse you have much more possibilities to customize the color settings of the keywords in the editor. With the new ADT version 2.58 it is possible to specify the keyword colors via the eclipse preferences page:
In the example above I specify that “Method” and “Endmethod” statements are colored differently in the editor than the other keywords. I can even specify different font settings for these keywords, e.g. I could strikethrough FORM statements. The code then looks like this:
Have fun with your colored code.