Hi Torsten,

Thanks for this. This is indeed the way to go.

Just to let you know, the example infrastructure is also being developed in
the context of GT, so we have a healthy interest overlap which is great.
Only in our case, the discovery of the example happens through an <example>
pragma. Would it be possible to change your slice to use this pragma
instead of the example* convention?

Cheers,
Doru



On Wed, Oct 22, 2014 at 9:19 AM, Torsten Bergmann <asta...@gmx.de> wrote:

> One addition I implemented for Nautilus is that one can run examples
> directly
> in the browser just by clicking on class side example methods icons.
>
> See
> https://pharo.fogbugz.com/f/cases/13892/Example-methods-should-be-runnable-in-Nautilus
> for a picture.
>
>
> SO PLEASE: WHEN YOU PROVIDE EXAMPLES IN CLASSES PLEASE PUT THEM ON THE
> CLASS SIDE
>            AND LET THE SELECTOR START WITH "example".
>
> This way people will easily see that it is an example and can run them.
> Additionally it
> would help to put them into a category like "examples". So be a good
> citized and
> provide not only class comments but also examples for others to study.
>
>
> Side note:
> ==========
> It is also possible to click on the icon of class side initialize methods
> so the
> class get reinitialized (after a confirmation to avoid false clicking).
>
>
> https://pharo.fogbugz.com/f/cases/13894/Class-side-initialize-methods-should-be-runnable-in-Nautilus
>
> Both issues are already integrated.
>
>


-- 
www.tudorgirba.com

"Every thing has its own flow"

Reply via email to