如何仅使用Eclipse中的键盘来解决错误? [英] How to go to a error using only the keyboard in Eclipse?
本文介绍了如何仅使用Eclipse中的键盘来解决错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
比方说,我有一个10行的文件,并且包名(或其他名称)有问题,并且光标位于文本的最后一行.
Let's say I have a file with 10 lines and I have problem with the name of the package (or something) and the cursor is on the last line of the text.
我如何直接使用快捷方式转到该行以查看问题所在以及对解决该问题有何建议?
How can I go directly to that line to see what is the problem and what are suggestions to remove the problem, using a shortcut?
问题:是否有键盘快捷键?
Question: Is there a keyboard-shortcut for this?
或者类似这样的东西:
转到下一个错误,然后转到上一个错误.
推荐答案
Windows和Linux
Windows and Linux
- 转到下一个错误: Ctrl + .
- 转到上一个错误: Ctrl + ,
- 显示快速修复: Ctrl + 1
- Go to the next error: Ctrl + .
- Go to the previous error: Ctrl + ,
- Show quick fixes: Ctrl + 1
Mac
- 转到下一个错误: Cmd + .
- 转到上一个错误: Cmd + ,
- 显示快速修复: Cmd + 1
- Go to the next error: Cmd + .
- Go to the previous error: Cmd + ,
- Show quick fixes: Cmd + 1
这篇关于如何仅使用Eclipse中的键盘来解决错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文