This a problem I have long identified with Smalltalk that Pharo inherits.
The fact that workspace is disconnected from System Browser.

But I never bothered fixing because of other priorities.

Personally I am suprised you ask why one would want a more close connection
between System Browser and Workspace/Playground , isn't it obvious it would
speed up workflow considerably ?

My workaround has been not to use Playground at all and instead work
directly with System Browser. I use playground only to trigger class
execution. Even that is not necessary because of the script pragma which
makes possible to trigger execution directly from System Browser.

This is not just a problem of Workspace only , all tools inside Smaltalkl
are disconnected with exception of inspector and debugger . The king of
integration and the best example of how to connect a tool with others is
GTSpotter. Of course that is also what makes GTSpotter so popular.

On Sun, 2 Oct 2016 at 08:19, stepharo <[email protected]> wrote:

> But why do you want that? Why do you want to code everything in the
> playground?
>
>
> Le 1/10/16 à 21:58, CodeDmitry a écrit :
> > Thanks Peter! I admit I couldnt really dynamically add methods to a
> class at
> > runtime since I was doing it as follows:
> >
> > ([
> >      (LOCell class) methodDict
> >          at: #mouseAction
> >          put: ((LOCell class) compile:
> >              mouseAction: a
> >                  ^ mouseAction := a
> >          ).
> > ] value).
> >
> > Which caused constant harassment by Pharo until I typed:
> >
> > (LOCell class) removeAllKeys.
> >
> > or
> >
> > (LOCell class) removeKey: #mouseAction.
> >
> > I'll try your method in a bit to see if it works better.
>
> But you are using black magic incantation instead of using the class
> browser
> So do not complain if you shoot in your feet in the future.
>
> I would not code like that because you will just get frustrated and you
> will
> think pharo is bad while we are all using hyper fast and safe and we
> keep black magic
> for the place we want it.
>
> Stef
> >
> >
> >
> >
> >
> > --
> > View this message in context:
> http://forum.world.st/New-to-Pharo-a-bunch-of-questions-tp4917701p4917706.html
> > Sent from the Pharo Smalltalk Developers mailing list archive at
> Nabble.com.
> >
> >
>
>
>

Reply via email to