[squeak-dev] Here's a bizarre behaviour

Chris Muller asqueaker at gmail.com
Thu Jul 10 19:13:55 UTC 2014


>
> Try typing in:
> BSObject
> selecting it and pressing cmd+B.
>
> In fact, try any characters before an existing class.  (Characters after
> the class doesn't do the same).
>
> Any idea why this happens?
>

Because alternativeBrowseIt is set.

Type-Suggesting Parameter Name is a universal Smalltalk pattern which says
the argument names of methods should be "a" or "an" followed by the type of
the argument.  For example, "anObject" or "aSequenceableCollection".

alternativeBrowseIt is aware of this, and so allows the user to spawn
browsers on those types by simply double-clicking rather than requiring a
fine-motor text selection gesture.

alternativeBrowseIt also moves the focus on the _domain_ model, rather than
the package model.  Package model is only needed when organizing class
categories or high-level browsing a new, unfamiliar package.

Spawning browsers from code selection is a domain tracing-actvity (nothing
to do with packages), alternativeBrowseIt makes that activity much more
efficient for the user.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20140710/73b62a7d/attachment.htm


More information about the Squeak-dev mailing list