IntelliJ Platform Plugin SDK Help

Empty State

Empty states of tool windows, lists, trees, tables, master-detail layouts, or other container components should be informative for the users. Fill in the empty states with the following:

Empty state of a tool window

Reason why empty

Explain the current state

The default pattern is No [entity] added. If added, created, configured, or other words act as synonyms in a particular case, use added for consistency.

Correct

Correct text in the empty state

Incorrect

Incorrect text in the empty state

Be precise

Do not introduce new entities that are not used in the current context. Instead, use the terms from the current UI so that the user understands what exactly is missing:

Correct

The reason is clear

Incorrect

The reason is not clear

Actions to fill the area

An action makes it easier to understand what to start with instead of searching for the appropriate icon on the toolbar. It can also educate about the shortcut.

Use one or two actions

Three or more actions would make it harder to choose what to start from.

Correct

One action

Incorrect

Three actions

In rare cases, when you need to list all possible starting points, use the list layout.

If there is enough space (for example, in horizontal tool windows), you may use the table layout to place action links, shortcuts, and action descriptions:

Table layout for actions

Open menus from the toolbar

If an action opens a toolbar menu, open it at the same position where it would be opened with the corresponding toolbar button. This would explain which toolbar icon opens the menu.

Correct

Toolbar menu

Incorrect

Menu under the action

Explain what to do when there is no action`

If there is no action that can be performed by clicking a link, add a text describing all the required steps:

Explain what to do when there is no action

Hide the toolbar

Hide the area's toolbar if it does not have the same action as in the empty state. Usually, all other toolbar actions are not relevant in this case.

Correct

Hide the toolbar for the empty state

Incorrect

Toolbar is not needed

Help topic

Link to a help topic

Link to a help topic

In tool windows and master-detail layouts, provide a link to a help topic that explains the functionality. Add the question mark icon in the beginning.

Inline hint under the table

Context help in inline hints

In tables, trees, and lists, provide instructions according to the inline text help rules. Avoid using question mark links in these cases because such components rarely require deep explanations.

Empty state of the master-detail layout

Master-detail layouts include a list or a tree on the left (in the master part) and the details area on the right.

  • If the master area is empty, display the explanation, action, and link to the help article.

  • If the details area is empty, no explanations are needed. In this case, show the actions to fill in the area.

Empty master-detail layout

Writing guidelines

Punctuation

Separate sentences in the empty state with periods, but do not put a period after the action link. Use the ellipses at the end of the action link if this link opens a dialog or a popup which requires some input from the user.

Correct

Correct punctuation in the empty state

Incorrect

Incorrect punctuation in the empty state

Capitalization

Use sentence capitalization in the empty state texts and links.

Correct

Correct capitalization in the empty state

Incorrect

Incorrect capitalization in the empty state

Avoid excessive verbs

  • In actions, avoid words that describe physical actions like press or click — they are obvious from how the link works.

  • Avoid saying add new. Just use add because all that is added is new in the context of an empty UI area.

Correct

Correct usage of verbs in the empty state

Incorrect

Incorrect usage of verbs in the empty state

Sizes and placement

Vertical spacing:

Empty state vertical spacing

Minimum right and left margins:

Empty state horizontal spacing

Use non-breaking spaces in the following cases:

  • Between action names and shortcuts

  • For articles and prepositions

Correct

Correct usage of non-breaking spaces in the empty state

Incorrect

Incorrect usage of non-breaking spaces in the empty state
04 July 2025