creating instance variable accessors

Jimmie Houchin j.squeak at cyberhaus.us
Sat Sep 22 04:42:01 UTC 2007


Todd Blanchard wrote:
> Yes, but the feature is inexplicably buried.
> Cmd-click in class list pane to get menu that begins with 'browse full'
> choose 'more...'
> on subsequent menu it is the last item 'create inst var accessors'
[snip]

Thanks Todd,

I thought I had looked in that menu. But I guess I missed it.

It seems that it would be nice if it were in the Instance Variable 
submenu, possible right below the
3. Create accessors for instance variable
we could have
4. Create accessors for instance variables.
or if we want to be truly explicit
4. Create accessors for all instance variables.


I played with it just now to see if it met my other question with regard 
to adding accessors to variables which do not have them and it did. I 
even modified one of the existing accessors to see if it would leave it 
alone or overwrite it. It did as I had hoped. Beautiful!

Thanks again for pointing this out.

Jimmie



More information about the Squeak-dev mailing list