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
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 < marianopeck@gmail.com> 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
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
squeak-dev@lists.squeakfoundation.org