[squeak-dev] variable assignments button

Thiede, Christoph Christoph.Thiede at student.hpi.uni-potsdam.de
Mon Jan 20 18:51:40 UTC 2020

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 overfilled.

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 <cmd>a?

A popular GUI element for such problems is the split button<https://docs.microsoft.com/en-us/windows/win32/windowsribbon/windowsribbon-controls-splitbutton>. 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<mailto: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 changes
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...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20200120/d20d1466/attachment.html>

More information about the Squeak-dev mailing list