简体   繁体   English

在 IntelliJ 中显示错误的键盘快捷键

[英]Keyboard shortcut to display error in IntelliJ

I like to use my mouse as little as possible for health reasons.出于健康原因,我喜欢尽可能少地使用鼠标。 Almost all the common tasks in IntelliJ I can do via keyboard shortcuts, except for displaying the message of an error.除了显示错误消息外,几乎所有 IntelliJ 中的常见任务我都可以通过键盘快捷键完成。 How can I have a keyboard shortcut that will show the tooltip of the highlighted error?我怎样才能有一个键盘快捷键来显示突出显示的错误的工具提示?

For example, I have an error such as:例如,我有一个错误,例如:

在此处输入图片说明

Then I hit [magic-keyboard-command] and I get:然后我点击 [magic-keyboard-command],我得到:

在此处输入图片说明

In Eclipse this is possible by pressing F2.在 Eclipse 中,这可以通过按 F2 来实现。 Is there an equivalent in IntelliJ? IntelliJ 中是否有等价物?

JetBrains工具的标准是Ctrl + F1 (Mac上的Cmd + F1 )。

我在 mac 上使用 F2,它在单个文件中循环所有错误并显示每个错误信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM