How to create a package using the browser in Pharo?

Viewed 199

For a newbie in Pharo, how to create a package? The MOOC exercise says "Using the Browser create a package," but how?

2 Answers

You'll find an answer at 3.2 Creating a new Package in Pharo by Example:

From the World menu, open a System Browser. Right-click on an existing package in the Package pane and select Add package... from the menu.

However, the tools change frequently. It's sometimes New package. Here's what it looks like (today) in three different versions of Pharo:

Pharo 8

Creating a new package in Pharo 8

Pharo 7

Creating a new package in Pharo 7

Pharo 6

To open Nautilus, you have to left-click first, then choose System Browser:

Creating a new package in Pharo 6

And the classical way is to just define a new class and type in the package name you want in the definition.

Related