How to go to an error using only the keyboard in Eclipse?

前端 未结 4 940
温柔的废话
温柔的废话 2020-12-04 05:38

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

相关标签:
4条回答
  • 2020-12-04 05:57

    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
    0 讨论(0)
  • 2020-12-04 05:58

    TO GO TO NEXT ERROR ONLY in eclipse with Ctrl + . command, tick off warnings as shown in screenshot

    0 讨论(0)
  • 2020-12-04 06:04

    To complete the previous answers, you can use the combobox linked to the toolbar buttons for next/previous annotation to set the annotation level.

    That makes browsing through errors using ctrl+./ ctrl+ easier,

    0 讨论(0)
  • 2020-12-04 06:19

    To go to problem within project just type Shift+Alt+Q then press X. It will open the "Problems" window. Now use or to select the error/warning and press Enter to go to it.

    I know it isn't simple as Crtl+. but it works for a whole project.

    0 讨论(0)
提交回复
热议问题