I first noticed this with Cmd-/
occasionally refusing to work for comment-uncomment lines of code. But now (having just gone to XCode 4.1, although that may not be related) it's happened with Cmd-B
to build as well.
I can't figure out what I'm doing to cause this, or if there's any pattern to when it happens.
Keyboard shortcuts could fail to work if you don't press the key combinations at the same time. If you are having difficulties pressing multiple keys at the same time, you should enable Sticky Keys. This Windows 10 feature allows you to press the shortcut keys one after another.
Make sure you're using the latest version of the app. If the keyboard shortcut uses a function key, you may also need to press and hold the Fn key or the Globe key on the keyboard to perform the shortcut (depending on your Mac model, if you're using a Magic Keyboard, and how you set an option in Keyboard preferences).
Ctrl-Shift-SSave current data under a different name. The file name associated with the data changes to the new name.
Hit command+[
once and then command+/
starts working. You can hit command+]
again to undo the indentation effect.
Originally posted my answer here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With