如何仅使用Eclipse中的键盘来解决错误? [英] How to go to an error using only the keyboard in Eclipse?

查看:70
本文介绍了如何仅使用Eclipse中的键盘来解决错误?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

假设我有一个10行的文件,并且包名称(或其他名称)有问题,并且光标位于文本的最后一行。

Let's say I have a file with 10 lines and I have a 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 the problem is and what suggestions there are 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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆