pharo-project / pharo

Pharo is a dynamic reflective pure object-oriented language supporting live programming inspired by Smalltalk.
http://pharo.org
Other
1.21k stars 356 forks source link

Remember package refactor17388 #17414

Open AlexisCnockaert opened 2 days ago

AlexisCnockaert commented 2 days ago

Fixes: #17388 I created a class variable to remember lastselected package, the next time its searched by default

Screen Shot 2024-11-19 at 11 01 02

Here it is remembered :

Screen Shot 2024-11-19 at 11 01 11

Ducasse commented 15 hours ago

Pay attention Instance variable names must start with a lowercase letter: {ClySystemBrowserContext class}

Ducasse commented 15 hours ago

Alexis you should use a class variable (sharedVariables: and not an instance variables of the metaclass. Please read the Pharo by example chapter so that you get it right because knowing the difference it important. There is also a video on the pharo mooc.