Search code examples
xcodexcode4

Where did the "Search in Project" context menu item go in Xcode 4?


When you selected text in the code window and right-clicked on it, you would get a context menu with an option to "Search in Project" for the selected text. (Xcode 3.x)

Anyone knows how I can achieve the same in Xcode 4? Or a keyboard shortcut?

Now I select the text and wrestle my fingers in the following combination CMD-C, CMD-CTRL-F, CMD-V, RETURN. Feels a bit like playing the Playstation...

Cheers, Niels R.


Solution

  • There doesn't seem to be a single keyboard shortcut, but one you might find useful is "Use Selection for Find" (Command+E). That is, you can select some text, and press Command+E, Command+Shift+F, Return.