[Pharo-users] do-it or inspect-it in the spotter search bar?

Richard Sargent richard.sargent at gemtalksystems.com
Sat Jun 30 20:44:17 EDT 2018


Paul,

That's an excellent suggestion. Wherever one can type text, one should be
able to do text operations on it. And wherever one can type code, one
should be able to do code operations on it.

(And, for completeness, one should be able to do a subset of each wherever
text and code are displayed.)



On Sat, Jun 30, 2018, 16:28 PAUL DEBRUICKER <pdebruic at gmail.com> wrote:

> I was feeling lazy was wondered if it would be possible to hit Cmd-D or
> Cmd-I in the spotter input field rather than opening a playground and
> typing something in then hitting it.  E.g.
>
>
> 1 + 1  Cmd-I
>
> would open an inspector on the number 2
>
>
> After looking at GTSpotter>>#spotterFor... methods I couldn't figure out
> how to make it happen in the half hour I had to spend on it.
>
>
> I recognize opening the playground is Cmd-O Cmd-W but I just open the
> spotter ~50x as often as a new playground so the muscle memory isn't
> there.  If I could do quick one-liners in the spotter then the playground
> would get opened even less often.
>
>
>
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20180630/fcbe32e0/attachment.html>


More information about the Pharo-users mailing list