[squeak-dev] Cmd-Shift-J
Eliot Miranda
eliot.miranda at gmail.com
Tue Dec 24 01:56:18 UTC 2019
Hi Tim,
On Mon, Dec 23, 2019 at 5:45 PM tim Rowledge <tim at rowledge.org> wrote:
>
>
> > On 2019-12-23, at 5:33 PM, Eliot Miranda <eliot.miranda at gmail.com>
> wrote:
> >
> > Hi Tim,
> >
> > On Mon, Dec 23, 2019 at 5:03 PM tim Rowledge <tim at rowledge.org> wrote:
> > Isn't this a place where the refactoring browser stuff helps a lot?
> Actually knowing that you want to change a variable named foo to wibble?
> Assuming of course that that is actually what you are wanting.
> >
> > Sure, but the refactoring browser works on methods that already exist,
> not on methods one is currently authoring.
> >
>
> Hmm. Point. So I have to wonder if maybe Shout could help with this a
> well; after all it's doing some analysis as you type so maybe that could be
> leveraged?
>
Hmm, interesting. So one could imagine the interface to the
refactored/shout etc being integrated with text editing so that to rename a
temp var one simply selected ts it in the declaration within |'s and
overtypes it. That would be nice. But how general is the scheme? Does it
work for selectors? I doubt it. And so it could just be a clever idea.
What Levente points out with Ctrl-J & Ctrl-G is much simpler primitives
that compose well are more generally useful. They're more useful as a
combo than my ideas for a word-boundary respecting alternative. I don't
want to poo poo any ideas though. I'm just saying that I'm happy with
Levente's suggestion.
> tim
> --
> tim Rowledge; tim at rowledge.org; http://www.rowledge.org/tim
> Strange Opcodes: FART: Fill Accumulator from Result if True
>
_,,,^..^,,,_
best, Eliot
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20191223/82b64a10/attachment.html>
More information about the Squeak-dev
mailing list
|