Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keyboard shortcuts in Xcode stop working

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.

like image 393
buildsucceeded Avatar asked Sep 05 '11 10:09

buildsucceeded


People also ask

Why are my keyboard shortcuts not working?

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.

Why are my Mac keyboard shortcuts not working?

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).

What does shift control's do?

Ctrl-Shift-SSave current data under a different name. The file name associated with the data changes to the new name.


1 Answers

Hit command+[ once and then command+/ starts working. You can hit command+] again to undo the indentation effect.

Originally posted my answer here

like image 188
atulkhatri Avatar answered Oct 12 '22 02:10

atulkhatri