xcode shortcut to go to next compiler error (ignoring warnings!)
Asked Answered
G

4

25

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)

Gallinacean answered 11/10, 2017 at 20:8 Comment(0)
P
13

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.

Screenshot of the bottom 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.

Prem answered 10/4, 2020 at 18:31 Comment(0)
G
5

To expand on auspicious99's answer, after filtering on errors in the issues pane, you can use keyboard shortcuts end to end:

  1. cmd-5 - selects the issues pane
  2. up/down arrows - select the error you want
  3. cmd-j, enter - move the focus to the editor
Grandchild answered 20/6, 2020 at 11:6 Comment(0)
C
0

go to key bindings.

filter = "fix all issues"
Coal answered 8/8, 2023 at 11:54 Comment(1)
it applies 'fix' to every issue, not go to the next issueDactylic
I
-6

In the navigator (the left-hand pane), choose the right-most icon that looks like a speech bubble. You'll see the build results, and when you click on them you'll be taken to the error.

enter image description here

Interpretation answered 29/11, 2017 at 12:42 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.