Squeak

Terminology

  • Mouse buttons
    • Red button: left-click
    • Yellow button: right-click, contextual menu
    • Blue button: middle-click, morphic halo
  • [System] Category: a group of classes (the leftmost browser pane)
    • Package: Monticello uses this term. It can often be one category
  • Protocol/Method Category: a group of methods
  • Workspace: where you enter code to execute
  • Transcript: output
  • [System] Browser: lets you browse classes and methods
  • Method Finder: a tool for finding methods

Browser

  • Categorizing methods: drag a method into a protocol, or right-click on the protocol column, and choose “categorize all uncategorized”

SqueakMap

From Squeak By Example chapter 2, section 2.9 “Saving and sharing Smalltalk code”.

  • Go to Apps > SqueakMap Calatog
  • Click Update to get latest packages
  • Package list is initially limited to packages certified to work on the current Squeak release. To get a broader list, right-click on the list and deselect “New safely-available packages” and select “Published packages”

Source Control: SqueakSource

  • Make sure all your code is in one package
  • Sign in to http://www.squeaksource.com
  • Click “Register Project” and register it
  • Copy the MCHttpRepository message from the “Registration” section (the password will be empty)
  • From the top menu bar, choose “Apps” > “Monticello Browser”
  • Click “+ Package”, then add your project’s package
  • Select your package on the left
  • Click “+ Repository”, choose “HTTP”, then paste the MCHttpRepository message you copied earlier
  • Click “Save”

Loading from SqueakSource

  • Find a project in SqueakSource
  • Copy the MCHttpRepository message from the “Registration” section (the password will be empty)
  • From the top menu bar, choose “Apps” > “Monticello Browser”
  • Click “+ Repository”, choose “HTTP”, then paste the MCHttpRepository message you copied earlier
  • Select your repository, then click “Open”
  • Accept the username that’s already in there, then enter your password and accept it
  • Choose a package on the right, then click “Load”
  • The classes should now be available in the browser