fix(intellij): Prevent ConcurrentModificationException in keymap access

This commit is contained in:
김효연
2025-12-08 15:39:24 +09:00
parent 08e2688d08
commit 5d1cd00103

View File

@@ -88,9 +88,11 @@ private fun getTutorialFileName(): String {
class ContinuePluginStartupActivity : StartupActivity, DumbAware {
override fun runActivity(project: Project) {
removeShortcutFromAction(getPlatformSpecificKeyStroke("J"))
removeShortcutFromAction(getPlatformSpecificKeyStroke("shift J"))
removeShortcutFromAction(getPlatformSpecificKeyStroke("I"))
ApplicationManager.getApplication().invokeLater {
removeShortcutFromAction(getPlatformSpecificKeyStroke("J"))
removeShortcutFromAction(getPlatformSpecificKeyStroke("shift J"))
removeShortcutFromAction(getPlatformSpecificKeyStroke("I"))
}
initializePlugin(project)
}