[squeak-dev] [Idea] method source with it

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[squeak-dev] [Idea] method source with it

Mariano Martinez Peck
Very often I need to search a string in the whole code of a package. Someone tell me to select the world and then select "method source with it". This works fine, but it searches in ALL the image. I would like to specify a package for example.

Perhaps there is a way I don't know. If this is the case, please let me know.

Sorry for just telling the idea and not to offering to do it myself. But I think this is better than nothing :)

greetings,

Mariano


Reply | Threaded
Open this post in threaded view
|

[squeak-dev] Re: [Idea] method source with it

Mariano Martinez Peck
Ahh and would be extremely good that this paints the results with a particular color. So, you can quickly see the occurrences of the world you were searching.

Cheers,

Mariano

On Tue, Feb 24, 2009 at 10:22 PM, Mariano Martinez Peck <[hidden email]> wrote:
Very often I need to search a string in the whole code of a package. Someone tell me to select the world and then select "method source with it". This works fine, but it searches in ALL the image. I would like to specify a package for example.

Perhaps there is a way I don't know. If this is the case, please let me know.

Sorry for just telling the idea and not to offering to do it myself. But I think this is better than nothing :)

greetings,

Mariano



Reply | Threaded
Open this post in threaded view
|

Re: [squeak-dev] [Idea] method source with it

Lukas Renggli
In reply to this post by Mariano Martinez Peck
> Sorry for just telling the idea and not to offering to do it myself. But I
> think this is better than nothing :)

The refactoring browser integration into OB provides that functionality.

1. Left-click on an element of the package you want to search.
2. Click on 'Open Environment | Package'.
3. The opened yellow browser scopes all Refactoring Browser actions to
what you see in this browser.
4. Either use 'Open | Search Code' (for parse tree searches) or 'Open
Environment | Find Sources' (for full text regexp search).

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch