[squeak-dev] variable assignments button
asqueaker at gmail.com
Mon Jan 20 22:55:58 UTC 2020
On Mon, Jan 20, 2020 at 12:51 PM Thiede, Christoph <
Christoph.Thiede at student.hpi.uni-potsdam.de> wrote:
> Hi, this sounds great! It took me also a few months to find out that this
> feature "browse assignments" exists :)
> On the other hand, I think this makes the button row look even more
We have an unpleasant mix of a "command-oriented" UI, where you select a
command (instead of an object) and THEN the system prompts you, modally,
for the object to apply that command to -- we should be moving AWAY from
this, not toward --
mixed along with with our "object-oriented" UI, where you select the object
first, THEN the contextual command to apply to it (via button or menu or
For example, you can select the instVar name (text) and use "References to
it (N)" off the menu (or hot-key) to show all references to an instVar that
way. It would be easy to add an additional menu entry for assignments only.
Another option might be to offer a pop-up menu similar to the code
> provenance button. This menu would have two items: 'references' and
> 'assignments'. Good for clarity, not so good for efficiency -- on the other
> hand, which person that wants to be efficient uses the button instead of
> A popular GUI element for such problems is the split button
> Emphasises the default option of a series, but still provides fast access
> to the rest of series, too. But we don't have a pluggable implementation
> for this in Morphic so far, do we?
> *Von:* Squeak-dev <squeak-dev-bounces at lists.squeakfoundation.org> im
> Auftrag von Jakob Reschke <forums.jakob at resfarm.de>
> *Gesendet:* Montag, 20. Januar 2020 18:42:58
> *An:* ralphpboland at gmail.com; The general-purpose Squeak developers list
> *Betreff:* Re: [squeak-dev] variable assignments button
> One can invoke this also with Cmd-a on the class, or somewhere in its
> pop-up menu.
> A button for it could be nice on touch screens though. There is no button
> space for all our favorite features though.
> Ralph, could you send a screenshot of your solution for a quick
> impression, please?
> Kings regards,
> Ralph Boland <rpboland at gmail.com> schrieb am Mo., 20. Jan. 2020, 18:35:
>> In the Browsers there is a line of buttons: "browse", "senders" etc.
>> One of the buttons is "vars" which when pressed brings up a GUI that
>> allows you to select a variable and then a list of all methods using
>> that variable
>> is brought up from which you can select a method to inspect.
>> Sometimes I only want to view the subset of the methods in which the
>> variable is assigned.
>> I have implemented this feature (new button to the right of "vars"
>> labeled ":=")
>> and find it to be very useful.
>> I am wondering if this feature can be added to the next version of Squeak.
>> I can send my code changes if someone is willing to do this but the
>> required are small so my help may not be needed.
>> If some do not like this feature (it's great really!) then perhaps it
>> could be turned
>> on or off depending on a Preferences setting.
>> If this feature happens to be in 5.3 then my apologies for wasting
>> peoples time.
>> Ralph Boland
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Squeak-dev