Does XCode 4 have keyboard shortcut for the two menu options: Edit > Find > Replace and Find Next / Previous?
If not, (1) why not, (2) how do I create them, and (3) which key combinations do you recommend for the shortcuts?
Tips: You can also open the basic Find and Replace pane with the keyboard shortcut CONTROL + H. When you replace text, it's a good idea to select Replace instead of Replace All.
Use the shortcut Ctrl+H or navigate to Home>Editing>Replace to reach the Find and Replace dialog box.
Press (Command[⌘] + Z) followed by (Shift[⇧] + Command[⌘] + Z) to execute undo and redo actions.
As for Find & Replace, they are provided by default now (version 4.2.1):
Find & Replace: Cmd + Option + F
Find & Replace in Workspace: Cmd + Option + Shift + F
As for Find next/Find previous, you should be able to use standard Cmd-G
and Cmd-Shift-G
Mac shortcuts.
But the keyboard shortcut for Edit > Find > Replace doesn't seem to be provided by default. However, you can set up one if you go to XCode 4 Preferences (Cmd-,) and then click Key Bindings. There are options available for Replace, Replace All as well as Replace and Find Next.
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