For Programmers: Free Programming Magazines  


Home > Archive > Smalltalk > November 2006 > Re: Search method with a certain string in comments









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Re: Search method with a certain string in comments
askoh

2006-11-02, 7:03 pm

I am glad there is a menu command that can search comments in methods
of a class.
Class/Query/Browse Methods with Source Matching...

Can we include that capability for the whole image in the menu command
Find/Methods with Strings Matching ...

In fact, it would be very good if one can search any text in the whole
image - something like a little Google inside VW.

Thanks,
Aik-Siong

Eliot Miranda wrote:
> askoh wrote:
>
> Are you talking about the browser's class list
> Query->Browse Methods with Source Matching... ?
>
> If so, then it does work. It must be that it doesn't match your
> expectations. For example, open a browser and navigate to Object. Now
> query methods with source matching
> "
> You'll get all Object methods that contain a " and hence all those with
> comments. Now query e.g.
> a new Association
> and you'll get Object -> as this has a comment of
> "Answer a new Association with the receiver as the key
> and the argument as the value."
>
> (I'm testing 7.4.1)
>
> Is it that you expect to be able to see subclasses?
> Have I got the wrong menu?
> Have I got the wrong version?
>
> --
> The surest sign that intelligent life exists elsewhere in Calvin &
> the universe is that none of it has tried to contact us. Hobbes.
> --
> Eliot ,,,^..^,,, Smalltalk - scene not herd


Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com