pharo icon indicating copy to clipboard operation
pharo copied to clipboard

MatchTool deserves a button to apply a search

Open Ducasse opened this issue 1 year ago • 2 comments

Right now we can enter an expression and select a class and we see the result. But I cannot just change the expression and see the result. We have to reselect the class. Capture 2024-01-06 at 21 02 58

Ducasse avatar Jan 06 '24 20:01 Ducasse

Could be this included in the new Method Finder as a new Expression search type? Then we could browse results from there, senders, implementors, etc.

hernanmd avatar Jan 18 '24 15:01 hernanmd

Potentially yes.

Ducasse avatar Jan 18 '24 17:01 Ducasse

This is because the "Occurrences matches" is a separate tool. We could improve the expression finder to update automatically when typing. But, this can be really slow as if one search the occurrences in several classes, it can take minutes. Other option can be to add another button like "search in previously selected class" but I that can pollute the UI. Already the button "Search on selected classes" remembers the previously selected class

jordanmontt avatar Feb 23 '24 10:02 jordanmontt

Related PR: https://github.com/pharo-spec/NewTools/pull/709

jordanmontt avatar Feb 23 '24 11:02 jordanmontt