• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Find Usages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Find Usages


  • Subject: Re: Find Usages
  • From: Paul Summermatter <email@hidden>
  • Date: Fri, 14 Aug 2009 12:31:33 -0400

Fritz et al,

Thank you for the information, but even when using Symbol, I still get lots of spurious matches when I'm searching for a method like '- (NSString *)name' where lots of classes might implement it. This whole process is just vastly simpler in other IDEs like IDEA where you can right click and choose Find Usages (and where it's smart enough to recognize when a method is part of a protocol and ask if you want to find usages of the protocol or not).

That's disappointing about the public API. I was going to push JetBrains to do for Xcode what they have done for VisualStudio with their Resharper product.

Paul

On Aug 14, 2009, at 11:37 AM, Fritz Anderson wrote:

On 14 Aug 2009, at 8:41 AM, Paul Summermatter wrote:

Let's say I have a method on an object such as -[MyObject initWithDelegate:name:]. I want to find all usages of this method in my project. I cannot seem to do this.

Open the Project Find window.
In the second popup, select Symbol instead of Textual.
Put initWithDelegate (or even a complex selector like initWithObjects:forKeys:) into the Find: field.
Click the Find button.
Whirr, click. Results.


A regular expression to do the same thing would be insane.

As an aside, is XCode configured to allow for plugin style augmentation? That is to say, is there an API available that would allow one to develop extensions to XCode to add features?

No. Many versions ago, the private interface for Project Builder plugins had been reverse-engineered, but there's nothing public or current.


Spelling: Xcode, lower-case c.

	— F

--
Fritz Anderson -- Xcode 3 Unleashed: Now in its second printing -- <http://x3u.manoverboard.org/ >



_______________________________________________ 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
References: 
 >Find Usages (From: Paul Summermatter <email@hidden>)
 >Re: Find Usages (From: Fritz Anderson <email@hidden>)

  • Prev by Date: Re: Find Usages
  • Next by Date: Re: Xcode, Dyld, External Dynamic Libraries and Setting {DY}LD_LIBRARY_PATH for Running Targets
  • Previous by thread: Re: Find Usages
  • Next by thread: Re: Find Usages
  • Index(es):
    • Date
    • Thread