Show TOC

Changing the Font Color of TextsLocate this document in the navigation structure

Context

You can define the colors in which the following texts are to be displayed in ABAP source code:

Entry

Description

Search

To highlight search results with write access

Syntax Coloring

To highlight, for example, ABAP keywords, literals, identifiers in general, as well as the background color of ABAP method blocks and embedded language elements, such as SQL script

Note

To define colors for individual ABAP keywords, see the Related Information from below.

Transformation

To highlight, for example, specific XML attributes, such as equal signs or values as well as comments that are defined for transformations

WebDynpro

To highlight, for example, generated code in general, mapping lines regarding context mapping, and WebDynpro error texts as well as their formatting

Using different colors makes it easier for you to skim through source code in order to distinguish, for example, between an ABAP keyword and elements.

Procedure

  1. Open the Start of the navigation path General Next navigation step Appearance Next navigation step Colors and Fonts End of the navigation path preference page.
  2. Expand the folders Start of the navigation path ABAP Next navigation step Syntax Coloring End of the navigation path
  3. Select the text type whose color you want to change and click the Edit... button.
  4. Select the color and confirm with OK.
    Note To restore the default color settings, click the Restore Defaults button.
  5. To make the new color settings effective, (re-)open the source code editor.

Results

In the source code editor, the corresponding source code parts are displayed or highlighted in the predefined color settings.