1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
chylex a978505530
Set plugin version to chylex-31 2024-03-27 13:49:38 +01:00
chylex a3bc8033a8
Fix(VIM-3364): Exception with mapped Generate action 2024-03-27 13:49:27 +01:00
2 changed files with 3 additions and 1 deletions

View File

@ -14,7 +14,7 @@ ideaVersion=2023.3.3
ideaType=IC
downloadIdeaSources=true
instrumentPluginCode=true
version=chylex-1
version=chylex-31
javaVersion=17
remoteRobotVersion=0.11.22
antlrVersion=4.10.1

View File

@ -21,6 +21,7 @@ import com.intellij.openapi.actionSystem.PlatformDataKeys
import com.intellij.openapi.actionSystem.ex.ActionManagerEx
import com.intellij.openapi.actionSystem.ex.ActionUtil
import com.intellij.openapi.actionSystem.impl.ProxyShortcutSet
import com.intellij.openapi.actionSystem.impl.Utils
import com.intellij.openapi.command.CommandProcessor
import com.intellij.openapi.command.UndoConfirmationPolicy
import com.intellij.openapi.components.Service
@ -86,6 +87,7 @@ internal class IjActionExecutor : VimActionExecutor {
ActionManager.getInstance(),
0,
)
Utils.initUpdateSession(event)
// beforeActionPerformedUpdate should be called to update the action. It fixes some rider-specific problems.
// because rider use async update method. See VIM-1819.
// This method executes inside of lastUpdateAndCheckDumb