[Cuis] Menu 'Help' / 'Useful expressions' text window --> workspace?

H. Hirzel hannes.hirzel at gmail.com
Wed Jan 2 11:22:28 CST 2013


An example script

"To create a *.pck.st file for each category with tests afterwards to
remove these categories"

(SystemOrganization categoriesMatching: '*Test*')
	do: [ :cat | (CodePackage named: cat
				createIfAbsent: true
				registerIfNew: false) save.	
			    SystemOrganization removeSystemCategory: cat.
	 ]



On 1/2/13, H. Hirzel <hannes.hirzel at gmail.com> wrote:
> At the moment I'd like to see some reporting snippets on classes and
> categories. And loading scripts like the one you recently helped me
> with, Juan.
>
>
> | slash |
> slash _ FileDirectory slash.
> {
>   'packages', slash, 'PetitParser', slash, 'PetitParser.pck' .
>   'packages', slash, 'PetitParser', slash, 'PetitTests.pck' .
>   'packages', slash, 'PetitParser', slash, 'PetitTutorial.pck'
> }
> do:
> [ :fileName | CodeFileBrowser installPackage:
>                  (FileStream concreteStream readOnlyFileNamed: fileName)
> ]
>
>
>
> And for example simple things like
>
> SystemOrganization categories
>
>
> BTW what is the difference between SystemOrganization  and
> SystemOrganizer. Code snippets would be illustrative.
>
> And our old friends which always give much discussions: Reading and
> writing a text file (FileDirectory examples we recently had on the
> Pharo list)
>
> On 1/2/13, Germán Arduino <garduino at gmail.com> wrote:
>> Not that I've in mind at this moment, but a workspace with "Useful
>> Expressions" is really useful :)
>>
>> 2013/1/2 Juan Vuletich <juan at jvuletich.org>
>>
>>> H. Hirzel wrote:
>>>
>>>> Hello
>>>>
>>>> I realize that when I choose the menu 'Help' / 'Useful expressions' I
>>>> get a editor window and not a workspace.
>>>>
>>>> I think a workspace would be better.
>>>>
>>>> And we need to test if really all the expressions there still work.
>>>>
>>>> --Hannes
>>>>
>>>>
>>>
>>> Yes, reviewing them would be a good service. Maybe we decide to
>>> completely
>>> remove it... Anybody has suggestions on really useful expressions to be
>>> included?
>>>
>>> And yes, it should be a workspace!
>>>
>>> Cheers,
>>> Juan Vuletich
>>>
>>>
>>> ______________________________**_________________
>>> Cuis mailing list
>>> Cuis at jvuletich.org
>>> http://jvuletich.org/mailman/**listinfo/cuis_jvuletich.org<http://jvuletich.org/mailman/listinfo/cuis_jvuletich.org>
>>>
>>
>




More information about the Cuis mailing list