Intellij:转到当前文件中的下一个/上一个错误的快捷方式是什么? [英] Intellij: What is the shortcut for going to the next/previous error in the current file?
本文介绍了Intellij:转到当前文件中的下一个/上一个错误的快捷方式是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
在Eclipse中,如果按CTRL + 1,则将光标设置在第一个错误上,IDE会为您提供一些解决方案.在IDEA中,您按ALT + ENTER键可以获得一些解决方案,但是我不知道如何使光标移至错误位置.
In Eclipse, if you press CTRL+1, the cursor is set on the first error and there the IDE presents you some solutions. In IDEA, you press ALT+ENTER for some solutions, but I don't know how to make the cursor to go to the error.
推荐答案
F2 可用于循环浏览当前文件中的所有错误/警告.
F2 can be used to navigate through all errors/warnings in current file in circle.
编译后: Ctrl + Alt + 向上/向下箭头可用于浏览任何结果:搜索结果/编译结果.
After compilation: Ctrl+Alt+Arrow Up/Down can be used to navigate through any results: search results/compilation results.
这篇关于Intellij:转到当前文件中的下一个/上一个错误的快捷方式是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文