Project window is missing in keymap settings in Intellij Idea 2023.1.2

huangapple go评论86阅读模式
英文:

Project window is missing in keymap settings in Intellij Idea 2023.1.2

问题

我使用IntelliJ IDEA,我想为Project window分配一个键盘快捷方式,例如Cmd+1。

我进入设置 -> 键盘快捷键 -> 搜索项目窗口。

期望结果:显示项目窗口以便我可以为其分配快捷键。

实际结果:没有项目窗口

我使用的是

IntelliJ IDEA 2023.1.2(旗舰版)版本 #IU-231.9011.34,构建于2023年5月16日

MacBook Pro,15英寸,2018年

MacOS 13.3.1

英文:

I am using Intellij Idea, I would like to assign a keyboard shortcut to Project window, for example Cmd+1.

I go to settings -> keymap -> search project window.

expected result: display project window so that I can assign shortcut to it

actual result: there is no project window.

I am using

IntelliJ IDEA 2023.1.2 (Ultimate Edition) Build #IU-231.9011.34, built on May 16, 2023

Macbook Pro, 15-inch, 2018

MacOS 13.3.1

答案1

得分: -1

去帮助 -> 在Finder中显示日志 -> 用像vim这样的编辑器打开idea.log

搜索 window,我看到了以下异常信息

2023-05-17 09:25:51,431 [  13694] SEVERE - #c.i.o.w.i.ToolWindowManagerImpl - 无法调用(类=FigWindowListener,方法=toolWindowsRegistered,主题=工具窗口事件)
java.lang.RuntimeException: 无法调用(类=FigWindowListener,方法=toolWindowsRegistered,主题=工具窗口事件)
	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: 当前线程: Thread[DefaultDispatcher-worker-48,5,main] 1688829040(EventQueue.isDispatchThread()=false)

ToolWindowManagerImpl 出现问题,而且是来自 FigWindowListener 类

所以去设置 -> 插件 -> 停用名为 Fig 的插件 -> 重新启动Intellij Idea。问题解决。

英文:

Go to help -> show log in Finder -> open idea.log with editor like vim.

Search window, and I saw exceptions like below

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)

Something wrong with ToolWindowManagerImpl. And it comes from class FigWindowListener

So go to settings -> Plugins -> disable plugin called Fig -> restart Intellij Idea. Problem solved.

huangapple
  • 本文由 发表于 2023年5月17日 10:35:51
  • 转载请务必保留本文链接:https://go.coder-hub.com/76268223.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定