Smalltalk/Squeak Basics - File List
The file list is a way to link into the files on your hard drive through
Squeak. It is also the way that we can file in (or read in) external
code to our Squeak image. To open a file list, choose 'open' from the
main menu, and then 'filelist' from the open menu. When you open a file
list, you should get an image that looks something like this:
As you can see, the file list is broken up into sections, similar to the
system browser.
- Top Left Pane - Contains the directory structure, from the root
directory down to the directory where Squeak is stored. Clicking in here
will allow you to change directories.
- Top Right Pane - Contains file in current directory. Clickng on a
file here will display the contents in the...
- Bottom Pane - Displays either the contents of a file (if selected),
or the files in a directory (if a directory is selected).
This is the image we'd get if we click in the top left pane:
- Add Server/Remove Server - Only used in conjunction with obtaining
update files off the web. You shouldn't have to worry about these.
- Delete Directory - Obvious
This is the image we get if we click in the top right pane:
- All of these should be self explanatory and obvious
- However, there are other options that come up. If our file
has the extension file.st or file.cs, Squeak recognizes it as being a
file which contains code. In this case, we get a menu that looks like
this:
- FileIn - Muy importante. This is how you read in Smalltalk code into
your image. Notice how it is the opposite of FileOut, which is how you
write out Smalltalk code.
- File Into New Change Set - Like above, but with a twist. Basically,
when you file in, you do it to a change set which is untitled. But when
you do this one, you file in to a change set which has the same name as
the file you're reading from. If you don't get this, just use "FileIn".
- Browse Changes - Allows you to see the changes to code that this file
does.
- Browse Code - Allows you to look at the code contained in this file.
- Broadcast As Update - You shouldn't have to use this. But is used to
upload file to Squeak database at UIUC.
- The rest of these should be self-explanatory.
This is the image we get if we click in the bottom pane:
- File It In - Same as FileIn above.
- Get Entire File - For large files, Squeak limits what it shows in
this pane to the first 5000 bytes. If you want to force it to show the
rest, choose this.
- View As Hex/Browse Changes - Obvious
- The rest of these should be obvious as well.
Back to the top | Over to CoWeb