开发者

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 forc开发者_开发技巧ed 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.


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.


I think it's a bug. For now I assigned another key combination: ^Q and ^Z to "jump to counterpart" and it works.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜