Xcode 14.0 beta - How do I comment out multiple selected lines?

What is the shortcut to comment out // multiple selected lines in Xcode 14.0 beta?

Accepted Reply

It seems they have change shortcut from cmd - / to cmd - :

But you can restore previous shortcut in Preferences.

  • just as a comment on "previous shortcut in Preference" I changed it on Xcode -> settings - > Key bindings -> (then type in search field "comment")

  • Yes, that's it (for me, Xcode menu item is Preferences, not Settings).

Add a Comment

Replies

It seems they have change shortcut from cmd - / to cmd - :

But you can restore previous shortcut in Preferences.

  • just as a comment on "previous shortcut in Preference" I changed it on Xcode -> settings - > Key bindings -> (then type in search field "comment")

  • Yes, that's it (for me, Xcode menu item is Preferences, not Settings).

Add a Comment