10

enter image description here

Normally the shortcut is "⌘⇧/".

But being that "/" is on the "7" key on a Danish keyboard, this shortcut now opens the Help menu - ironically.

Manually adding it as a key binding does not help.

enter image description here

As far as I remember, the exact same thing happened last year with Xcode 13.

Zappel
  • 1,612
  • 1
  • 22
  • 37

4 Answers4

16

I had the same issue. I unchecked adapt to current keyboard. Now it's working as before. I am using a german keyboard.

adri567
  • 533
  • 5
  • 20
12

Using a french AZERTY keyboard I was able to fix it by going to:

System Preferences > Keyboard > Shortcuts tab > App Shortcuts > Uncheck Show help Menu in App Shortcuts

enter image description here

You'll still need to Manually add it as a key binding

ahbou
  • 4,710
  • 23
  • 36
  • The command is now ⌘ + ´. But I had to remove Show Help Menu like @ahbou pointed out and then change it back to ⌘ + SHIFT + / . – Thel Sep 14 '22 at 10:22
  • Thanks. This is the root cause of the problem, at least in my spanish keyboard – javi_swift Jan 24 '23 at 11:16
4

That's true. The way to comment on a whole code selection has been changed in Xcode 14.

On Spanish keyboards works by pressing cmd + '.

Screenshot

Brogrammer
  • 163
  • 1
  • 9
1

Default 'comment selected' shortcut is cmd+*

CMD + * worked for the Turkish keyboard.