Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

XCode shortcut key to dismiss warning/error highlights?

Is there a shortcut key to dismiss the lines that get highlighted yellow and red for warnings and errors, instead of having to click one by one on the symbols in the gutter?

I have tried searching but this particular nugget of wisdom isn't easy to find, if indeed it's out there.

Thanks.

like image 570
Rainier Wolfcastle Avatar asked Aug 08 '13 11:08

Rainier Wolfcastle


2 Answers

The shortcut you're looking for is Control-Command-M which corresponds to Issues->Show All Issues in Xcode's Key Bindings settings menu. You can change this shortcut to what ever you'd like, and it will toggle wether or not error messages will be visible on screen.

like image 61
Mick MacCallum Avatar answered Nov 16 '22 03:11

Mick MacCallum


I don't know if you already tried that or if that's what you're searching, but there is the menu "Editor" -> "Issues" -> "Hide all issues" command that maybe can be useful

like image 30
Vik Avatar answered Nov 16 '22 02:11

Vik