Personal Menu for Squeak
Things I like to have on my Personal Menu in Squeak...
|spaceTallyPath|
spaceTallyPath := FileDirectory default
fullPathFor: 'STSpace.text'.
aMenu addLine.
aMenu add: 'SpaceTally [', spaceTallyPath, ']' translated
target: SpaceTally new
action: #printSpaceAnalysis.
aMenu add: 'Empty Trash Can' translated
target: Utilities
action: #emptyScrapsBook.
aMenu add: 'Clear Command History'
target: CommandHistory
action: #resetAllHistory.
aMenu add: 'Collect Garbage'
target: Smalltalk
action: #garbageCollect.
aMenu add: 'Flush MC Caches (follow this with a GC)'
target: MCFileBasedRepository
action: #flushAllCaches.



1 Comments:
another good one is
aMenu
add: 'Flush MC Caches (follow this with a GC)'
target: MCFileBasedRepository
action: #flushAllCaches.
Post a Comment
<< Home