[squeak-dev] Documentation/Comment per package

H. Hirzel hannes.hirzel at gmail.com
Mon Jul 30 18:36:25 UTC 2012


On 7/28/12, Bert Freudenberg <bert at freudenbergs.de> wrote:
> On 28.07.2012, at 13:39, Bert Freudenberg wrote:
>
>> Guys, please take a step back. There is no "code".
>>
>> Q: The comment of a class is held where?
>> A: An instance variable of the class object.
>>
>> Q: The comment of a package should be held where?
>> A: An instance variable of the package object.
>>
>> Everything else is just a tools issue. If we had a browser for packages,
>> it would allow editing the package comment.
>>
>> Right now the browser to edit packages is Monticello. And it would work
>> just like editing the preambles and postscripts of a package. It's a
>> trivial addition really. As far as Monticello is concerned, it would just
>> be another kind of definition.
>>
>> Guess I should just code it up ...
>>
>> - Bert -
>
> Done. Very straight-forward. Take a peek in the inbox,
> PackageInfo-Base-bf.65 and Monticello-bf.513.
>
> You need to press the "Scripts" button in MC to edit the comment. We can
> decide on a better label later.
>
> Yay/nay?
>
> - Bert -
>

Nice!

Besides clicking on the 'scripts' button to have a look at the comment I can do

   PackageInfo allInstances explore

and run a report on the Array I get there.

Are there other places where this package comment shows up or could
easily made to be shown up?

--Hannes
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PackageCommentsInMonticelloBrowser.GIF
Type: image/gif
Size: 48557 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20120730/8a3d85cb/PackageCommentsInMonticelloBrowser.gif


More information about the Squeak-dev mailing list