Setting up a Morphic project
Last updated at 5:52 pm UTC on 2 January 2022
prior selfStudy next
Note: Add info for TestRunner.
What we want to do: We want to set up a sandbox to play in for the rest of this self-study course. We will create a Morphic project (more see MorphicProject). In that project, we will place some basic windows:
- a Workspace,
- the Transcript and
- a Browser.
These we will use right away. We will also add the Package Loader, the S-Unit Test Runner and a Bug Fixes Archive Viewer windows (Note: Bug Fixes Archive Viewer is no longer used, go for Monticello instead).
These are for later use, when we become contributing members. We fuss around a lot with the appearance and layout of our project. We're just trying to get comfortable in Squeak. We make sure to save our image with the project so we can get get back in as often as we want. This will give us most of the tools we need to do our work as we do Squeak development.
What you should know before doing this exercise
If you haven't already done so, read the Welcome To window that appears when you open a fresh image.
Also do the following tutorial http://www.phaidros.com/DIGITALIS/englisch/sqk/sqk00013.htm and the next 10 pages. NOTE - this link is broken
The exercise
- Open a morphic project. Hint:Starting up Morphic
- Change the project title to: "Self-study".
- Enter the Self-stuy project.
- Open the Tools Flap.
- Drag out the Preferences window.
- Select "browsing" at the top of the window.
- Set "browseWithPrettyPrint" and set "colorWhenPrettyPrinting".
- Select "?" at the top of the window.
- Select "Save Current Setting to Disk".
- Close the Preference window.
- Drag out a Browser.
- Find and select the class "Object".
- Select the "->" method.
- Confirm the display is pretty printed with color.
- Position the Browser mid-way down on the right-hand side.
- Drag out a Workspace and change its label to: "Exercises: and position it mid-way down,on the left-side.
- Drag out a Transcript and position it in the lower right-hand corner.
- Close the Tools Flap.
- Save image as: self-study.image.
- Exit the project.
- Quit Squeak.
Verify you got it
prior selfStudy next
Feedback - Please, update this page with corrections and comments This is a Wiki, so feel free to make corrections/extensions to the instructions above. Also feel make suggestions comments below. The more specific your comments the better.