Opening a System Browser

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|

Opening a System Browser

David Richards
From 2018-09-29-UpdatedPharoByExample.pdf page 20:

image.png

How to do this with Calypso?

    Smalltalk tools openClassBrowser ...?...

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Opening a System Browser

hernanmd
Hi David,

This is the way:

Smalltalk tools browser open.

Cheers,

Hernán

El jue., 31 ene. 2019 a las 8:57, David Richards (<[hidden email]>) escribió:
From 2018-09-29-UpdatedPharoByExample.pdf page 20:

image.png

How to do this with Calypso?

    Smalltalk tools openClassBrowser ...?...

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Opening a System Browser

David Richards
Thanks Hernán.

      Smalltalk tools browser open.

This code expression is helpful to see and understand.

My question goes further however -- to how we can open the browser to display a specified method of a specified class (e.g. the 'factorial' method of class 'Integer').

David

On Thu, 31 Jan 2019 at 07:10, Hernán Morales Durand <[hidden email]> wrote:
Hi David,

This is the way:

Smalltalk tools browser open.

Cheers,

Hernán

El jue., 31 ene. 2019 a las 8:57, David Richards (<[hidden email]>) escribió:
From 2018-09-29-UpdatedPharoByExample.pdf page 20:

image.png

How to do this with Calypso?

    Smalltalk tools openClassBrowser ...?...

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Opening a System Browser

hernanmd
Hi David,

You can open the browser on a method using #openOnMethod:

Smalltalk tools browser openOnMethod: (Integer>>#factorial)

Cheers,

Hernán


El jue., 31 ene. 2019 a las 13:23, David Richards (<[hidden email]>) escribió:
Thanks Hernán.

      Smalltalk tools browser open.

This code expression is helpful to see and understand.

My question goes further however -- to how we can open the browser to display a specified method of a specified class (e.g. the 'factorial' method of class 'Integer').

David

On Thu, 31 Jan 2019 at 07:10, Hernán Morales Durand <[hidden email]> wrote:
Hi David,

This is the way:

Smalltalk tools browser open.

Cheers,

Hernán

El jue., 31 ene. 2019 a las 8:57, David Richards (<[hidden email]>) escribió:
From 2018-09-29-UpdatedPharoByExample.pdf page 20:

image.png

How to do this with Calypso?

    Smalltalk tools openClassBrowser ...?...

Thanks.
Reply | Threaded
Open this post in threaded view
|

Re: Opening a System Browser

CyrilFerlicot
In reply to this post by David Richards


On Thu, Jan 31, 2019 at 5:23 PM David Richards <[hidden email]> wrote:
Thanks Hernán.

      Smalltalk tools browser open.

This code expression is helpful to see and understand.

My question goes further however -- to how we can open the browser to display a specified method of a specified class (e.g. the 'factorial' method of class 'Integer').


Hi,

Smalltalk tools browser openOnMethod: Integer>>#factorial
 
David



--
Cyril Ferlicot
https://ferlicot.fr
Reply | Threaded
Open this post in threaded view
|

Re: Opening a System Browser

Sven Van Caekenberghe-2
Even simpler:

Just inspect:

  Integer>>#factorial.

and one of the tabs is the source code.

You can also do:

  (Integer>>#factorial) browse.

> On 31 Jan 2019, at 17:38, Cyril Ferlicot <[hidden email]> wrote:
>
>
>
> On Thu, Jan 31, 2019 at 5:23 PM David Richards <[hidden email]> wrote:
> Thanks Hernán.
>
>       Smalltalk tools browser open.
>
> This code expression is helpful to see and understand.
>
> My question goes further however -- to how we can open the browser to display a specified method of a specified class (e.g. the 'factorial' method of class 'Integer').
>
>
> Hi,
>
> Smalltalk tools browser openOnMethod: Integer>>#factorial
>  
> David
>
>
>
> --
> Cyril Ferlicot
> https://ferlicot.fr


Reply | Threaded
Open this post in threaded view
|

Re: Opening a System Browser

David Richards
In reply to this post by CyrilFerlicot
Thanks Hernán and Cyril.

Although I've been a programmer since 1977, with professional experience in functional and object-oriented development, I'm a total newcomer to the Pharo/ST ecosystem. Your replies are much appreciated.

David

On Thu, 31 Jan 2019 at 08:38, Cyril Ferlicot <[hidden email]> wrote:


On Thu, Jan 31, 2019 at 5:23 PM David Richards <[hidden email]> wrote:
Thanks Hernán.

      Smalltalk tools browser open.

This code expression is helpful to see and understand.

My question goes further however -- to how we can open the browser to display a specified method of a specified class (e.g. the 'factorial' method of class 'Integer').


Hi,

Smalltalk tools browser openOnMethod: Integer>>#factorial
 
David



--
Cyril Ferlicot
https://ferlicot.fr
Reply | Threaded
Open this post in threaded view
|

Re: Opening a System Browser

David Richards
In reply to this post by Sven Van Caekenberghe-2
Very excellent.

Thanks Sven.

On Thu, 31 Jan 2019 at 08:44, Sven Van Caekenberghe <[hidden email]> wrote:
Even simpler:

Just inspect:

  Integer>>#factorial.

and one of the tabs is the source code.

You can also do:

  (Integer>>#factorial) browse.

> On 31 Jan 2019, at 17:38, Cyril Ferlicot <[hidden email]> wrote:
>
>
>
> On Thu, Jan 31, 2019 at 5:23 PM David Richards <[hidden email]> wrote:
> Thanks Hernán.
>
>       Smalltalk tools browser open.
>
> This code expression is helpful to see and understand.
>
> My question goes further however -- to how we can open the browser to display a specified method of a specified class (e.g. the 'factorial' method of class 'Integer').
>
>
> Hi,
>
> Smalltalk tools browser openOnMethod: Integer>>#factorial

> David
>
>
>
> --
> Cyril Ferlicot
> https://ferlicot.fr