Eclipse:如何使用键盘(键盘快捷键)进行错误? [英] Eclipse: How to go to a error using only the keyboard (keyboard-shortcut)?

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

问题描述

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



如何使用快捷方式直接进入该行?看看有什么问题以及使用快捷方式删除问题的建议?



问题是:我有一个键盘快捷方式吗?



或类似的内容:



转到下一个错误

转到上一个错误

解决方案

Windows和Linux




  • 转到下一个错误: Ctrl + li>
  • 转到上一个错误: Ctrl +

  • 显示快速修复: Ctrl + 1



Mac




  • 转到下一个错误: Cmd +

  • 转到上一个错误: Cmd +

  • 显示快速修复: Cmd + 1


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?

The question is: Do I have a keyboard-shortcut for this?

Or something like this:

go to the next error and go to the previous error

解决方案

Windows and Linux

  • Go to the next error: Ctrl + .
  • Go to the previous error: Ctrl + ,
  • Show quick fixes: Ctrl + 1

Mac

  • Go to the next error: Cmd + .
  • Go to the previous error: Cmd + ,
  • Show quick fixes: Cmd + 1

这篇关于Eclipse:如何使用键盘(键盘快捷键)进行错误?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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