laech / intellij-actions-tree Goto Github PK
View Code? Open in Web Editor NEWEmacs tree style keymapping for IntelliJ-based IDEs.
Home Page: https://plugins.jetbrains.com/plugin/11076-actions-tree
License: Apache License 2.0
Emacs tree style keymapping for IntelliJ-based IDEs.
Home Page: https://plugins.jetbrains.com/plugin/11076-actions-tree
License: Apache License 2.0
java.lang.UnsupportedOperationException
at com.intellij.openapi.actionSystem.UpdateSession.expandedChildren(UpdateSession.java:25)
at com.intellij.openapi.actionSystem.ActionGroupUtil.getActiveActions(ActionGroupUtil.java:30)
at com.intellij.openapi.actionSystem.ActionGroupUtil.isGroupEmpty(ActionGroupUtil.java:14)
at com.intellij.ide.actions.NewElementAction.update(NewElementAction.java:86)
at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performDumbAwareUpdate$0(ActionUtil.java:157)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:180)
at com.gitlab.lae.intellij.actions.tree.ui.ActionPresentation.update(ActionPresentation.kt:57)
at com.gitlab.lae.intellij.actions.tree.ActionNode.createPresentation(ActionNode.kt:47)
at com.gitlab.lae.intellij.actions.tree.Popup.createPresentation(Popup.kt:66)
at com.gitlab.lae.intellij.actions.tree.Popup.<init>(Popup.kt:42)
at com.gitlab.lae.intellij.actions.tree.PopupAction.actionPerformed(PopupAction.kt:24)
at com.intellij.openapi.actionSystem.ex.ActionUtil.doPerformActionOrShowPopup(ActionUtil.java:327)
at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performActionDumbAwareWithCallbacks$4(ActionUtil.java:306)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareWithCallbacks(ActionUtil.java:350)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAwareWithCallbacks(ActionUtil.java:306)
at com.gitlab.lae.intellij.actions.tree.Popup.performAction(Popup.kt:196)
at com.gitlab.lae.intellij.actions.tree.Popup.access$performAction(Popup.kt:25)
at com.gitlab.lae.intellij.actions.tree.Popup$performAction$1.invoke$lambda$2$lambda$1$lambda$0(Popup.kt:169)
at com.intellij.openapi.application.TransactionGuardImpl.runWithWritingAllowed(TransactionGuardImpl.java:209)
at com.intellij.openapi.application.TransactionGuardImpl.access$100(TransactionGuardImpl.java:21)
at com.intellij.openapi.application.TransactionGuardImpl$1.run(TransactionGuardImpl.java:191)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:838)
at com.intellij.openapi.application.impl.ApplicationImpl$3.run(ApplicationImpl.java:454)
at com.intellij.openapi.application.impl.FlushQueue.doRun(FlushQueue.java:74)
at com.intellij.openapi.application.impl.FlushQueue.runNextEvent(FlushQueue.java:114)
at com.intellij.openapi.application.impl.FlushQueue.flushNow(FlushQueue.java:36)
at java.desktop/java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:318)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:779)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:730)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:724)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:86)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:749)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:909)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:756)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$5(IdeEventQueue.java:437)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:787)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$6(IdeEventQueue.java:436)
at com.intellij.openapi.application.TransactionGuardImpl.performActivity(TransactionGuardImpl.java:105)
at com.intellij.ide.IdeEventQueue.performActivity(IdeEventQueue.java:615)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:434)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:838)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:480)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:207)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:128)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:117)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:105)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:92)
2021-08-02 08:29:53,263 [ 201209] ERROR - plication.TransactionGuardImpl - Write-unsafe context! Model changes are allowed from write-safe contexts only. Please ensure you're using invokeLater/invokeAndWait with a correct modality state (not "any"). See TransactionGuard documentation for details.
current modality=ModalityState:{[com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog[dialog2,941,330,800x583,invalid,layout=java.awt.BorderLayout,APPLICATION_MODAL,title=Push Commits to bakkt,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog$DialogRootPane[,0,51,800x532,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]]}
java.lang.Throwable: Write-unsafe context! Model changes are allowed from write-safe contexts only. Please ensure you're using invokeLater/invokeAndWait with a correct modality state (not "any"). See TransactionGuard documentation for details.
current modality=ModalityState:{[com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog[dialog2,941,330,800x583,invalid,layout=java.awt.BorderLayout,APPLICATION_MODAL,title=Push Commits to bakkt,defaultCloseOperation=DO_NOTHING_ON_CLOSE,rootPane=com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog$DialogRootPane[,0,51,800x532,invalid,layout=javax.swing.JRootPane$RootLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=449,maximumSize=,minimumSize=,preferredSize=],rootPaneCheckingEnabled=true]]}
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:182)
at com.intellij.openapi.application.TransactionGuardImpl.assertWriteActionAllowed(TransactionGuardImpl.java:140)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveDocuments(FileDocumentManagerImpl.java:269)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveAllDocuments(FileDocumentManagerImpl.java:259)
at com.intellij.openapi.fileEditor.impl.FileDocumentManagerImpl.saveAllDocuments(FileDocumentManagerImpl.java:252)
at com.intellij.dvcs.push.ui.VcsPushDialog.runPrePushHandlersInModalTask(VcsPushDialog.java:270)
at com.intellij.dvcs.push.ui.VcsPushDialog.executeAfterRunningPrePushHandlers(VcsPushDialog.java:255)
at com.intellij.dvcs.push.ui.VcsPushDialog.push(VcsPushDialog.java:244)
at com.intellij.dvcs.push.ui.SimplePushAction.actionPerformed(SimplePushAction.java:26)
at com.intellij.dvcs.push.ui.VcsPushDialog$ActionWrapper.actionPerformed(VcsPushDialog.java:402)
at com.intellij.dvcs.push.ui.VcsPushDialog$ComplexPushAction.actionPerformed(VcsPushDialog.java:369)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:270)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6652)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3345)
at java.desktop/java.awt.Component.processEvent(Component.java:6417)
at java.desktop/java.awt.Container.processEvent(Container.java:2263)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5027)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4859)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2784)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4859)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:778)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:727)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:751)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:749)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:748)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:886)
at com.intellij.ide.IdeEventQueue.dispatchMouseEvent(IdeEventQueue.java:815)
at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:752)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$7(IdeEventQueue.java:442)
at com.intellij.openapi.progress.impl.CoreProgressManager.computePrioritized(CoreProgressManager.java:825)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:441)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:117)
at java.desktop/java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
at java.desktop/java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at java.desktop/java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
at java.desktop/java.awt.Dialog.show(Dialog.java:1063)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:699)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:435)
at com.intellij.openapi.ui.DialogWrapper.doShow(DialogWrapper.java:1726)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:1685)
at com.intellij.dvcs.push.VcsPushAction.actionPerformed(VcsPushAction.java:32)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performActionDumbAware(ActionUtil.java:290)
at com.gitlab.lae.intellij.actions.tree.Popup.performAction(Popup.kt:193)
at com.gitlab.lae.intellij.actions.tree.Popup.access$performAction(Popup.kt:25)
at com.gitlab.lae.intellij.actions.tree.Popup$performAction$1.invoke$lambda-1$lambda-0(Popup.kt:167)
at com.intellij.ide.IdeEventQueue.onFocusEvent(IdeEventQueue.java:558)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:477)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
2021-08-02 08:29:53,264 [ 201210] ERROR - plication.TransactionGuardImpl - IntelliJ IDEA 2021.2 Build #IC-212.4746.92
2021-08-02 08:29:53,264 [ 201210] ERROR - plication.TransactionGuardImpl - JDK: 11.0.11; VM: OpenJDK 64-Bit Server VM; Vendor: JetBrains s.r.o.
2021-08-02 08:29:53,264 [ 201210] ERROR - plication.TransactionGuardImpl - OS: Linux
2021-08-02 08:29:53,264 [ 201210] ERROR - plication.TransactionGuardImpl - Plugin to blame: Actions Tree version: 0.5.2
2021-08-02 08:29:53,264 [ 201210] ERROR - plication.TransactionGuardImpl - Last Action: ActionsTree.Node.6
你好,我是在rider中使用0.5.5版本的插件。下面是我的JSON配置文件。
导入到插件中解析没有报错,但没有得到预期的菜单项。其中“ActionTreeEditorMenu”和“ActionTreeFindMenu” 好像没有被正确识别。
请帮忙看看,我的配置项是不是存在问题,多谢!
{
"items": [
{
"id": "ActionTreeToolWindowMenu",
"keys": ["ctrl SEMICOLON"],
"name": "Tool Window Menu",
"items": [
{"keys": [], "id": "ActivateFindToolWindow"},
{"keys": ["typed l"], "id": "JumpToLastWindow", "when": "InputFocused"},
{"keys": ["typed q"], "id": "HideActiveWindow"},
{"keys": ["typed z"], "id": "HideAllWindows"},
{"keys": ["typed e"], "id": "ActivateProjectToolWindow", "separator-above": "Tool Windows"},
{"keys": ["typed o"], "id": "ActivateStructureToolWindow"},
{"keys": ["typed d"], "id": "ActivateDebugToolWindow"},
{"keys": ["typed b"], "id": "ViewBreakpoints"},
{"keys": ["typed c"], "id": "ActivateCommitToolWindow"},
{"keys": ["typed g"], "id": "ActivateVersionControlToolWindow"},
{"keys": ["typed p"], "id": "ActivateProblemsViewToolWindow"},
{"keys": ["typed m"], "id": "ViewMainMenu", "separator-above": "Menu & Bar"},
{"keys": [], "id": "ViewNavigationBar"},
{"keys": ["typed f"], "id": "ToggleFullScreen", "separator-above": "Mode"}
]
},
{
"id": "ActionTreeEditorMenu",
"name": "Editor Menu",
"items": [
{"keys": ["typed q"], "id": "CloseContent"},
{"keys": ["typed o"], "id": "CloseAllEditorsButActive"},
{"keys": ["typed d"], "id": "CloseAllEditors"}
]
},
{
"id": "ActionTreeFindMenu",
"name": "Find Menu",
"items": [
{"keys": ["typed f"], "id": "GotoFile"},
{"keys": ["typed a"], "id": "GotoAction"},
{"keys": ["typed s"], "id": "GotoSymbol"},
{"keys": ["typed l"], "id": "RecentLocations"},
{"keys": ["typed b"], "id": "RecentFiles"}
]
},
{
"keys": ["ctrl QUOTE"],
"items": [
{"keys": ["typed t"], "id": "ActionTreeToolWindowMenu"},
{"keys": ["typed w"], "id": "ActionTreeEditorMenu", "when": "InputFocused"},
{"keys": ["typed f"], "id": "ActionTreeFindMenu"}
]
}
]
}
java.lang.Throwable: Write-unsafe context! Model changes are allowed from write-safe contexts only. Please ensure you're using invokeLater/invokeAndWait with a correct modality state (not "any"). See TransactionGuard documentation for details.
current modality=ModalityState.NON_MODAL
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:182)
at com.intellij.openapi.application.TransactionGuardImpl.assertWriteActionAllowed(TransactionGuardImpl.java:140)
at com.intellij.psi.impl.PsiDocumentManagerBase.commitAllDocuments(PsiDocumentManagerBase.java:199)
at com.intellij.codeInsight.actions.CodeInsightEditorAction.beforeActionPerformedUpdate(CodeInsightEditorAction.java:28)
at com.intellij.codeInsight.actions.CodeInsightAction.beforeActionPerformedUpdate(CodeInsightAction.java:71)
at com.intellij.openapi.actionSystem.ex.ActionUtil.lambda$performDumbAwareUpdate$0(ActionUtil.java:127)
at com.intellij.openapi.actionSystem.ex.ActionUtil.performDumbAwareUpdate(ActionUtil.java:144)
at com.intellij.openapi.actionSystem.ex.ActionUtil.lastUpdateAndCheckDumb(ActionUtil.java:211)
at com.gitlab.lae.intellij.actions.tree.Popup.performAction(Popup.kt:192)
at com.gitlab.lae.intellij.actions.tree.Popup.access$performAction(Popup.kt:25)
at com.gitlab.lae.intellij.actions.tree.Popup$performAction$1.invoke$lambda-1$lambda-0(Popup.kt:167)
at com.intellij.ide.IdeEventQueue.onFocusEvent(IdeEventQueue.java:558)
at com.intellij.ide.IdeEventQueue.lambda$dispatchEvent$8(IdeEventQueue.java:477)
at com.intellij.openapi.application.impl.ApplicationImpl.runIntendedWriteActionOnCurrentThread(ApplicationImpl.java:794)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:493)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.