From a6079bad7a4e15d9dfcb2b82322b1316f887fada Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Wed, 13 Mar 2024 18:33:33 +0100 Subject: [PATCH] notifications.md: Editor Banner DumbAware --- topics/user_interface_components/notifications.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/topics/user_interface_components/notifications.md b/topics/user_interface_components/notifications.md index 37b339b25..1988c0469 100644 --- a/topics/user_interface_components/notifications.md +++ b/topics/user_interface_components/notifications.md @@ -1,6 +1,6 @@ -# Notifications + - +# Notifications Notifying users about errors, action statuses, or other events without interrupting their workflow by showing modal message boxes requiring confirmation. @@ -32,7 +32,7 @@ For UI reference, see [Banner](https://jetbrains.design/intellij/controls/banner Notifications that appear at the top of the file editor are a great way to ask the user to take an important action that would otherwise impede their experience if ignored (e.g., missing SDK, setup/project configuration requiring user input). Register an implementation of [`EditorNotifications.Provider`](%gh-ic%/platform/platform-api/src/com/intellij/ui/EditorNotifications.java) using `com.intellij.editorNotificationProvider` extension point. -If no [index access](indexing_and_psi_stubs.md#dumb-mode) is required, it can implement [`DumbAware`](%gh-ic%/platform/core-api/src/com/intellij/openapi/project/DumbAware.java) to be shown during indexing. +If access to indexes is not required, it can be marked [dumb aware](indexing_and_psi_stubs.md#DumbAwareAPI). A commonly used UI implementation is [`EditorNotificationPanel`](%gh-ic%/platform/platform-api/src/com/intellij/ui/EditorNotificationPanel.java).