Re: using find in Xcode 4
Re: using find in Xcode 4
- Subject: Re: using find in Xcode 4
- From: Fritz Anderson <email@hidden>
- Date: Wed, 16 Mar 2011 16:24:25 -0500
On 16 Mar 2011, at 2:07 PM, Boyd Collier wrote:
> In using the search navigator, I've not discovered an easy way to restrict searching for a bit of text to a particular file, such as the one shown in the editor. Moreover, selecting a particular bit of text in the editor and then using control-e followed by control-g marks everything containing the search term rather than just text exactly matching the search term, which is not satisfactory if the search term happens to be a single letter, for example. If there's a way to search more effectively, please let me know, and if I've overlooked something in the Xcode 4 documentation, please point it out to me.
I worry I don't understand your question. It's the same as in Xcode 3. Did you type "find" in the text field in the Help menu? That would have shown you the command you wanted. It's also among the first things covered in the introductory documents (using Xcode without reading the intros is a suicide mission).
The command for searching the focused document is Edit > Find > Find…. The key equivalent is command-F, same as almost every other Mac application. The command opens a small strip at the top of the editor into which you type your search string; the search is incremental, highlighting all matches as you go.
Note, please that it's _command_-F, not _control_-F. The control key shifts a limited number of ASCII characters into the ASCII range 0x00 to 0x1F. The command key does not generate any characters at all; it taps directly into the event-handling system as a discrete event for commands.
— F
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden