Squeak
  links to this page:    
View this PageEdit this Page (locked)Uploads to this PageHistory of this PageTop of the SwikiRecent ChangesSearch the SwikiHelp Guide
Using the ChangeSorter
Last updated at 4:01 pm UTC on 14 January 2006
What's the ChangeSorter for? It looks like it's for moving definitions between change sets. Why do you want to do that? I see that the "Preamble" is a standard "Who did this when" header, but what's the "Postscript"?

We use the Change Sorter to sort changes into meaningful collections to be filed out and exchanged with other Squeak users. One often works on a number of different projects at the same time – for example, while working on some application I might add some nifty new method to OrderedCollection. I might also temporarily change some methods during debugging. Later, I could use to change sorter to sort my changes into one set for the new OrderedCollection method and another for my application. The temporary changes I would just "forget" from the change set.

The postscript allows one to add expressions to be evaluated after the filein has been done. For example, if the changes include adding a new instance variable to some class, one might add an expression to initialize that instance variable in all existing instances of that class.

– John Maloney


FAQ: Change Sorters contains step-by-step instructions on how to save code via a Change Sorter in Squeak.

Scamper