Hi Marcel, hi Subbu,<br>
<br>
> You could generate a name and leave it selected, like in the result of printIt. If you don't like the name, just type the new name as usual.<br>
<br>
> In the workspace just type: "preferredName := " then drop the object.<br>
<br>
But this will still force me to rename the variable manually. Your proposed workflow requires me to 1. prepare the workspace, 2. perform the drag-drop gesture, and 3. execute the do-it. And the bindings of the workspace will be polluted with the ugly name anyway. :-)<br>
<br>
Personally, I very rarely use this feature because this is so complicated. I would still like a preference for this, but I think a prefilled dialog window would not be more disruptive than doing a manual assignment first.<br>
<br>
(PS: Just another bug I did not yet find the time to fix - since the Inspector refactoring, you cannot even longer drag the object from an inspector field into a workspace. Instead, you will always end up with a variable pointing to the InspectorField instance itself ...)<br>
<br>
Best,<br>
Christoph<br>
<br>
<font color="#808080">---<br>
</font><font color="#808080"><i>Sent from </i></font><font color="#808080"><i><a href="https://github.com/hpi-swa-lab/squeak-inbox-talk"><u><font color="#808080">Squeak Inbox Talk</font></u></a></i></font><br>
<br>
On 2020-03-25T09:23:41+01:00, marcel.taeumel@hpi.de wrote:<br>
<br>
> > What about a preference for this particular behavior? :-)<br>
> <br>
> That's even worse for this issue here. ;-) I think we can do better.<br>
> <br>
> Best,<br>
> Marcel<br>
> Am 25.03.2020 09:23:01 schrieb Marcel Taeumel <marcel.taeumel at hpi.de>:<br>
> Sounds good. It is also very easy to rename the generated variable. In the workspace just type: "preferredName := " then drop the object. No need for a disruptive dialog window.<br>
> <br>
> Still -1 for the extra dialog window.<br>
> <br>
> Best,<br>
> Marcel<br>
> <br>
> <br>
> <br>
> Am 24.03.2020 20:38:02 schrieb K K Subbu <kksubbu.ml at gmail.com>:<br>
> On 25/03/20 12:03 AM, Thiede, Christoph wrote:<br>
> > The first thing I do after<br>
> > dropping a variable is assigning it to another variable by hand, so for<br>
> > me, such a prompt would be really helpful. What about a preference for<br>
> > this particular behavior? :-)<br>
> <br>
> You could generate a name and leave it selected, like in the result of<br>
> printIt. If you don't like the name, just type the new name as usual.<br>
> But if the name is okay, then press right arrow and continue with the<br>
> rest of the line. This will go with the flow.<br>
> <br>
> Regards .. Subbu<br>
> <br>
> -------------- next part --------------<br>
> An HTML attachment was scrubbed...<br>
> URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200325/afd49b1b/attachment.html><br>
> <br>