From f0c4df5d83aa2d6e98fa10ec8fe998ab5bac75a2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yann=20C=C3=A9bron?= Date: Tue, 9 Apr 2024 20:03:43 +0200 Subject: [PATCH] basic_action_system.md: minor --- topics/basics/basic_action_system.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/topics/basics/basic_action_system.md b/topics/basics/basic_action_system.md index 3cb9c2e57..a91cf0e87 100644 --- a/topics/basics/basic_action_system.md +++ b/topics/basics/basic_action_system.md @@ -56,9 +56,8 @@ Every IntelliJ Platform action should override `AnAction.update()` and must over When switching from BGT to EDT is absolutely necessary, actions can use `AnActionEvent.getUpdateSession()` to access the [`UpdateSession`](%gh-ic%/platform/editor-ui-api/src/com/intellij/openapi/actionSystem/UpdateSession.java) and then call `UpdateSession.compute()` to run a function on the EDT. - Starting from IntelliJ Platform version 2022.3, the Plugin DevKit will have an inspection in - Plugin DevKit | Code | ActionUpdateThread is missing to notify plugin authors about a missing implementation of - `AnAction.getActionUpdateThread()`. + Inspection Plugin DevKit | Code | ActionUpdateThread is missing highlights missing implementation of + `AnAction.getActionUpdateThread()` (2022.3+). * An action's method `AnAction.actionPerformed()` is called by the IntelliJ Platform if available and selected by the user. This method does the heavy lifting for the action: it contains the code executed when the action gets invoked. The `actionPerformed()` method also receives `AnActionEvent` as a parameter, which is used to access any context data like projects, files, selection, etc.