views:

264

answers:

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

+4  A: 
  • Go to the next error: Ctrl-.
  • Go to the previous error: Ctrl-,
  • Show quick fixes: Ctrl-1
Joe Daley
Cool, this is very useful! Unfortunately on the Mac, `Cmd-,` opens the preferences. But the shortcuts can be changed in Preferences -> Keys -> Next and Previous (I've just set them to `Cmd-.` and `Cmd--` for previous and next)
Fabian Steeg
On Mac, try `Cmd-.` and `Cmd-Shift-.` for next and previous. Not 100% sure though.
Joe Daley