create instance var accesors from menu (Pharo 3.0)
Hello, On squeeze 3.9 you can make them with a menu. Is there a simular way I can do the same in Pharo 3.0 ? Roelof
In the browser, right-click on the class in question, then Refactoring -> Class Refactoring -> Generate Accessors The little "h, a" indicate that the keyboard shortcut is mod+h+a where mod is your OS-specific modifier key for Pharo shortcuts (ctrl on linux and windows, command on osx). On 1 avr. 2014, at 17:46, Roelof Wobben <r.wobben@home.nl> wrote:
Hello,
On squeeze 3.9 you can make them with a menu.
Is there a simular way I can do the same in Pharo 3.0 ?
Roelof
Roelof Wobben wrote:
Hello,
On squeeze 3.9 you can make them with a menu. Yes. You missed that since you couldn't compare your result with the exact screenshot available in the tutorial.
Is there a simular way I can do the same in Pharo 3.0 ?
Roelof
. I haven't used that in a very long time - I had thought it had been removed - but when I look I find you can... Right-click on YourClass > Refactoring > Class Refactoring > Generate Accessors. Thanks for asking. I learnt something new today.
I hope you'll continue with the Squeak 3.9 image for the tutorial. Otherwise the advice we give to your questions will end up being frustrating to all. cheers -ben
participants (3)
-
Ben Coman -
Camille Teruel -
Roelof Wobben