gtoolkit icon indicating copy to clipboard operation
gtoolkit copied to clipboard

Pharo rewrite snippet should allow scoping of rewrites

Open j-brant opened this issue 3 years ago • 3 comments

The Pharo rewrite in Lepiter should allow one to limit the scope of the methods the rewrite is performed on. Currently, each rewrite is performed on the whole image, but it should be possible to limit to a package or some other filter.

j-brant avatar Sep 20 '22 16:09 j-brant

Here is an example:

searchMethods is a variable defined within the scope of the page and it appears as a possible target in the dropdown of the rewrite scope, next to All methods:

Screen Shot 2022-09-20 at 10 14 41 PM

girba avatar Sep 20 '22 20:09 girba

We need to have a way to define global default scopes, like All methods. Such a mechanism would allow us to customize the dropdown for a specific system.

girba avatar Sep 20 '22 20:09 girba

If you are viewing a search filter, you can use self for the search in scope: image

j-brant avatar Sep 21 '22 12:09 j-brant

The scope was changed to use the filters used in coders: image

j-brant avatar Oct 13 '22 12:10 j-brant