Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Control-Command-Up not switching to counterpart file in Xcode on Lion.

Since the three finger swipe has been stolen in Lion, I find myself forced to resort to the keyboard to switch between .h and .m files. Two finger swipe left and right only seems to work infrequently, and that should be for scrolling anyways.

The keyboard command should be Control-Command-Up, but for some reason this takes me out of Xcode and shows the project file in Finder.

I have checked both System Preferences, and Xcode's key bindings settings, and I can't find anything wrong. Xcode is set properly, and I can't find any conflicts.

like image 279
arsenius Avatar asked Nov 27 '22 18:11

arsenius


1 Answers

Do you by any chance have another program such as Afloat installed that might be taking over the key combination? For instance, Afloat uses the Control-Command-Up key combo to do just what you described - show the open application's file in Finder.

Besides changing the key combo, the Xcode default Control-Command-Down will also switch to the counterpart.

like image 95
Gucci D Avatar answered Dec 20 '22 01:12

Gucci D