The visible class comment is ***really*** cool

Dan Ingalls Dan at SqueakLand.org
Sun Feb 15 01:45:35 UTC 2004


>I have to admit I like the idea ... but I really hate the implementation ;-)
>Isn't there somebody out there who can add a comment pane if the browser
>shows the class definition? The way it is right now, you *see* the comment
>but you are entirely unable to change it. In addition, for reading class
>comments it can be really important that you are able to see the iVars
>(since much of it is often related to variables) so I would really opt for a
>separate pane here which is shown if the browser is in #editClass mode.

That might be a good way to do it,but I thought I would also mention a very simple solution I used when at Interval.

All I did was to add an optional "comment:" keyword to the class creation messages.  This meant that, with no change al all to the UI, you always saw the comment with the class definition, and you could always change it when visible.

	- Dan



More information about the Squeak-dev mailing list