Hello everyone

As you may already known, I'm working on a new tool named MethodName which
is the merge of MethodFinder and MessagesName with some cool improvement :)

It works on Pharo1.2 - 12109 because it needs NullTextStyler (
Gofer new
        squeaksource: 'PharoTaskForces';
         package: 'NullTextStyler';
         load.)

You can download the sources by evaluating this :

Gofer new
        squeaksource: 'PharoTaskForces';
        package: 'MethodName';
        load.

For opening a new MethodName window there's two ways :
   - evaluate : MethodName new openInWorld.
   - click World >> Tools >> Method Name


How it works :
- You choose thank to the radio button where you want to search (Selectors /
Class names/ Source)
- You type the text you want to search :
    + Source :
        1) *string or string or string* or *string* -> it answers all the
methods which source contains string
        2) begin*end -> it answers all the methods which source contains
begin(whatever)end.
    + Class names :
        1) name -> it answers the class which the name is name
        2) name* / *name / *name* / begin*end ... -> * replaces any string.
    + Selectors:
        1) the same behaviour that for class names
        2) the behaviour of MethodFinder

Moreover you can reduce the field of search by clicking on "Change
environment" which open a PackageChooser window.
A PackageChooser let you choose the set of classes which will be browsed
during the search.

The left list shows all the available packages and the right list shows the
already selected packages.
To add packages, just select them then click ">" to add them or click ">>"
to select all the packages. It's the same to remove packages.

Instead of browsing tons of packages  in the goal of finding the one you
want, you can use the text field to enter the name of the package or a part
of the name using some *.

When all the packages are selected, just click "Ok" :)

I hope it's a bit clear and a bit useful ^^

Benjamin
_______________________________________________
Pharo-project mailing list
Pharo-project@lists.gforge.inria.fr
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to