IntelliJ Platform Plugin SDK Help

Description Text

Description text provides explanatory information about a set of settings or a single item in a list or tree.

01 description text example

When to Use

Use description text to:

  • Show details about items in a list or tree:

02 use in tree
  • Describe a group of settings:

03 use in settings

How to Use

Text

Follow general rules in Writing short and clear and Punctuation.

Use the default text style for plain text. Increase line height by 3px from the default value.

Use H4 bold (Default bold) for headings or to highlight important words:

04 bold header

Use the editor font to highlight code snippets:

05 editor font

Use bullets for lists:

06 bullets

Limit the width of the line to 70–80 symbols, as it is not convenient to read very long lines:

Incorrect

07 width incorrect

Correct

07 width correct

If the text does not fit, add a scrollbar:

08 scroll

Appearance

Do not add borders around the description text. Use the panel color for the background.

Incorrect

Correct

09 frame incorrect
09 frame correct

For links, use the default link color: Link.activeForeground. Underline links on hover:

10 link

Insets

Separate the text from the surroundings with insets.

Use a 12px horizontal inset if the description text’s area has other elements:

11 insets 12

Increase inset up to 20px if the description text is the only element:

11 insets 20
Last modified: 16 May 2024