You are welcome. You should expect more in this direction. Doru On Wed, Oct 22, 2014 at 11:02 AM, kilon alios <kilon.alios@gmail.com> wrote:
very good feature that I was completely unaware of. I have actually examples in my Ephestos project that are at class side but I use ex instead of example. This will come very handy for my users thanks :)
On Wed, Oct 22, 2014 at 11:43 AM, Tudor Girba <tudor@tudorgirba.com> wrote:
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 <astares@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-i... 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...
Both issues are already integrated.
-- www.tudorgirba.com
"Every thing has its own flow"
-- www.tudorgirba.com "Every thing has its own flow"