'xcode shortcut to go to next compiler error (ignoring warnings!)
I am aware that command + ' brings you to the next issue, but is there a way to bring you to the next compiler error and ignore the warnings? (xcode 9)
Solution 1:[1]
I don't think there is a way to do that, but the closest thing you could do to that is to filter the display of issues in the Issue Navigator so it only shows errors and no warnings. Do that with one click, on the icon at the bottom right of the Issue Navigator.
Once you have done that, then the up and down arrow keys navigate you within the Issue Navigator from error to error instead of issue to issue.
Solution 2:[2]
You can use the Jump to Next Issue and Jump to the Previous Issue commands on the Navigate menu, which have the keyboard shortcuts Command+' and Command+" respectively.
Solution 3:[3]
To expand on auspicious99's answer, after filtering on errors in the issues pane, you can use keyboard shortcuts end to end:
cmd-5- selects the issues paneup/down arrows- select the error you wantcmd-j,enter- move the focus to the editor
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|---|
| Solution 1 | auspicious99 |
| Solution 2 | |
| Solution 3 |

