Setting JSON editor preferences

You can customize the display of the JSON editor by setting preferences such as highlight and syntax colors.

Procedure

  1. Click Window > Preferences > Web > JSON > Editor.
  2. On the Editor preferences page, you can enable or disable folding and the highlighting of brackets, and select the highlight color.
  3. In the preferences navigation, expand Editor and select Syntax Coloring.
  4. On the Syntax Coloring preference page, select the color and formatting for various JSON elements.
  5. You can set more preferences in the Text Editors preference page. On the Editor preferences page, click the Text Editors link.
  6. Useful options for working with JSON files:
    • Show line numbers
    • Highlight current line
    • Show range indicator
  7. Click Apply and then OK to save your changes.
Icon that indicates the type of topic Task topic
Timestamp icon Last updated: July 17, 2017 21:58

File name: tjsonpref.html