User
User

Reputation: 483

Eclipse keyboard shortcut for error

Is there a keyboard shortcut to view below error without having to hover over my mouse.

enter image description here

Upvotes: 0

Views: 689

Answers (3)

User
User

Reputation: 483

Go to the next error: Ctrl + .
Go to the previous error: Ctrl + ,
Show quick fixes: Ctrl + 1
Show suggestions and quick fixes: F2

So F2 servers the purpose of bubble which shows suggestions and on clicking quick fixes for multiple error on the same line. With F2 one just have to propagate through each error.

Upvotes: 0

cello
cello

Reputation: 5486

Moving the cursor to some red-underlined text, in my Eclipse the error message is then also shown in the status bar (bottom-left of the window). It's not always exactly the same text as is given in the mouse-over-popup, but usually close enough to figure out what's wrong. Going to the error with Cmd/Ctrl+. should place the cursor at the right spot to show the error message in the status bar.

Upvotes: 1

Andrii Motsyk
Andrii Motsyk

Reputation: 439

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

Found the answer here

Upvotes: 0

Related Questions