java Intellij Idea 2023.1.2中的键Map设置中缺少项目窗口

2wnc66cl  于 2023-05-21  发布在  Java
关注(0)|答案(1)|浏览(167)

我正在使用Intellij Idea,我想为Project window分配一个键盘快捷键,例如Cmd+1。
我去设置-> keymap ->搜索项目窗口。
预期结果:显示project window,以便我可以为其分配快捷方式
实际结果:没有project window
我在用
IntelliJ IDEA 2023.1.2(Ultimate Edition)Build #IU-231.9011.34,构建于2023年5月16日
MacBook Pro,15英寸,2018
MacOS 13.3.1

mqkwyuun

mqkwyuun1#

进入help -> show log in Finder -> open idea.log with editor like vim.
搜索window,我看到如下所示的异常

2023-05-17 09:25:51,431 [  13694] SEVERE - #c.i.o.w.i.ToolWindowManagerImpl - Cannot invoke (class=FigWindowListener, method=toolWindowsRegistered, topic=tool window events)
java.lang.RuntimeException: Cannot invoke (class=FigWindowListener, method=toolWindowsRegistered, topic=tool window events)
    at com.intellij.util.messages.impl.MessageBusImplKt.invokeListener(MessageBusImpl.kt:657)
    at com.intellij.util.messages.impl.MessageBusImplKt.deliverMessage(MessageBusImpl.kt:415)
    at com.intellij.util.messages.impl.MessageBusImplKt.pumpWaiting(MessageBusImpl.kt:394)
    at com.intellij.util.messages.impl.MessageBusImplKt.access$pumpWaiting(MessageBusImpl.kt:1)
    at com.intellij.util.messages.impl.MessagePublisher.invoke(MessageBusImpl.kt:454)
    at jdk.proxy1/jdk.proxy1.$Proxy95.toolWindowsRegistered(Unknown Source)
    at com.intellij.toolWindow.ToolWindowSetInitializer.postEntryProcessing(ToolWindowSetInitializer.kt:155)
    at com.intellij.toolWindow.ToolWindowSetInitializer.postEntryProcessing$default(ToolWindowSetInitializer.kt:152)
    at com.intellij.toolWindow.ToolWindowSetInitializer.createAndLayoutToolWindows(ToolWindowSetInitializer.kt:138)
    at com.intellij.toolWindow.ToolWindowSetInitializer.access$createAndLayoutToolWindows(ToolWindowSetInitializer.kt:45)
    at com.intellij.toolWindow.ToolWindowSetInitializer$createAndLayoutToolWindows$1.invokeSuspend(ToolWindowSetInitializer.kt)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
    at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:106)
    at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:570)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:750)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:677)
    at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:664)
Caused by: com.intellij.openapi.diagnostic.RuntimeExceptionWithAttachments: Current thread: Thread[DefaultDispatcher-worker-48,5,main] 1688829040 (EventQueue.isDispatchThread()=false)

ToolWindowManagerImpl有问题。它来自FigWindowListener类
所以去设置->插件->禁用名为Fig的插件->重新启动Intellij Idea。问题解决了

相关问题