Keyboard shortcut to display error in IntelliJ

心已入冬 提交于 2019-12-03 08:58:07

问题


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. 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:

In Eclipse this is possible by pressing F2. Is there an equivalent in IntelliJ?


回答1:


The standard for JetBrains tools is Ctrl+F1 (Cmd+F1 on Mac).




回答2:


I use F2 on the mac, it cycles round all the errors in a single file and displays the error information for each.



来源:https://stackoverflow.com/questions/13346245/keyboard-shortcut-to-display-error-in-intellij

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!