AppCode 2018.3 Help

Configuring Colors and Fonts

With AppCode, you can maintain your preferable colors and fonts layout for syntax and error highlighting in the editor, search results, Debugger and consoles via font and color schemes.

AppCode comes with a number of pre-defined color schemes. You can select one of them, or create your own one, and configure its settings to your taste.

It is important to mention the Language Defaults settings page, which contains the settings that are common for all the supported languages. It's enough to change one of the settings there, and then inherit this setting from the defaults.

Configure a global font

  1. In the Settings/Preferences dialog (⌘,), click Editor | Color Scheme. The Color Scheme page opens.

  2. Select a color scheme that you want to modify from the Scheme name drop-down list.

  3. Under the Color Scheme node, select Font or Console Fonts.

  4. In the Editor Font area, configure the primary and secondary fonts, their size, and line spacing.

    ac editorFont

Customize global color settings

The Language Defaults menu contains color settings that are common to the majority of language elements (for example, keywords, dots, commas, parenthesis, and other elements).

  1. Navigate to File | Settings | Editor | Color Scheme | Language Defaults.

  2. In the list of language elements, select an element (for example, Keyword). The background of the keywords is white; let's make it yellow.

  3. Select a checkbox of the option that you want to change (for example, Background).

  4. Click the field near the setting name to open a Color Picker.

  5. Select a color and click OK.

Customize font settings for Swift

  1. Navigate to File | Settings | Editor | Color Scheme | Swift.

  2. If the Inherit values from checkbox is selected, clear this checkbox.

  3. Select the necessary checkboxes for the font settings: Bold, Italic.

Import a color scheme from Xcode

  1. Go to the AppCode | Preferences | Editor | Color Scheme.

  2. Click the gearPlain 2x and click the Import Scheme option from the drop down list. Choose Import from Xcode from the menu:

    AppCode Import Color from Xcode

Configure semantic highlighting

Settings/Preferences⌘,Color SchemeEditorLanguage Defaults
  1. In the list of the supported language components, choose Semantic highlighting.

  2. Select the Semantic highlighting checkbox, which is in the upper-right corner of the dialog.

  3. As a result, all parameters in the list receive predefined colors. To change the suggested color, click the color picker and select the suitable color.

ac semantic highlighting
Last modified: 7 December 2018

See Also