Project-specific preferences

C. David Shaffer cdshaffer at acm.org
Sun Feb 29 20:32:41 UTC 2004


Has anyone hacked together something to make the standard preferences 
project-specific?  I searched the mailling list but don't see anything.  
I see that projects have "projectPreferenceFlagDictionary" but they 
don't seem that widely used.  Things like colors and font sizes are 
often project-specific for me so I've written little scripts to swap 
preferences when I swap projects...it really isn't very convenient.  
Really this is rather a silly, low priority thing.  I just like my tool 
colors to match my background :-)

Assuming it hasn't been done, how's this for a quick way to make this 
work without having to rewrite all the references to Preferences....I 
could rename the Preferences class (without updating references), make a 
doesNotUnderstand: proxy, install it in Smalltalk at: #Preferences and 
have it look up the current project preferences to redispatch the message.

David
----
C. David Shaffer
cdshaffer at acm dot org
http://www.cdshaffer.com





More information about the Squeak-dev mailing list