in the quest of using SmallLint

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

in the quest of using SmallLint

Stéphane Ducasse
I would like to run smallLint on all the packages :)
Now I wanted to run SmallLint on all the collections package
but I could not find a way.
Lukas do you know how to do that?

Stef

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: in the quest of using SmallLint

Lukas Renggli
Have a look at this blog post. The screen-cast explains during the
first minute how to run it on a specific environment only:
http://www.lukas-renggli.ch/blog/ob-rb-3.

1. Select the entity you want to check in the green browser.
2. Choose 'Open Environment' -> 'Package' (if you want the package)
3. Start code critics from the yellow (restricted environment)

Lukas

On Fri, Feb 13, 2009 at 9:42 PM, Stéphane Ducasse
<[hidden email]> wrote:

> I would like to run smallLint on all the packages :)
> Now I wanted to run SmallLint on all the collections package
> but I could not find a way.
> Lukas do you know how to do that?
>
> Stef
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: in the quest of using SmallLint

Stéphane Ducasse
I knew that now I wanted to know how I can apply it on several packages
But I will watch the video

stef
On Feb 13, 2009, at 9:52 PM, Lukas Renggli wrote:

> Have a look at this blog post. The screen-cast explains during the
> first minute how to run it on a specific environment only:
> http://www.lukas-renggli.ch/blog/ob-rb-3.
>
> 1. Select the entity you want to check in the green browser.
> 2. Choose 'Open Environment' -> 'Package' (if you want the package)
> 3. Start code critics from the yellow (restricted environment)
>
> Lukas
>
> On Fri, Feb 13, 2009 at 9:42 PM, Stéphane Ducasse
> <[hidden email]> wrote:
>> I would like to run smallLint on all the packages :)
>> Now I wanted to run SmallLint on all the collections package
>> but I could not find a way.
>> Lukas do you know how to do that?
>>
>> Stef
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: in the quest of using SmallLint

Lukas Renggli
Aha, the video won't tell you that.

In this case you need a workspace script. Something along:

packages := PackageOrganizer default packages
        select: [ :each | #('Collections' 'Kernel') includes: each packageName ].
browserEnvironment := SelectorEnvironment new label: 'Seaside Methods'.
packages do: [ :package |
        package methods
                do: [ :method | browserEnvironment addClass: method actualClass
selector: method methodSymbol ] ].
browserEnvironment open

On Fri, Feb 13, 2009 at 10:23 PM, Stéphane Ducasse
<[hidden email]> wrote:

> I knew that now I wanted to know how I can apply it on several packages
> But I will watch the video
>
> stef
> On Feb 13, 2009, at 9:52 PM, Lukas Renggli wrote:
>
>> Have a look at this blog post. The screen-cast explains during the
>> first minute how to run it on a specific environment only:
>> http://www.lukas-renggli.ch/blog/ob-rb-3.
>>
>> 1. Select the entity you want to check in the green browser.
>> 2. Choose 'Open Environment' -> 'Package' (if you want the package)
>> 3. Start code critics from the yellow (restricted environment)
>>
>> Lukas
>>
>> On Fri, Feb 13, 2009 at 9:42 PM, Stéphane Ducasse
>> <[hidden email]> wrote:
>>> I would like to run smallLint on all the packages :)
>>> Now I wanted to run SmallLint on all the collections package
>>> but I could not find a way.
>>> Lukas do you know how to do that?
>>>
>>> Stef
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [hidden email]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>
>>
>>
>>
>> --
>> Lukas Renggli
>> http://www.lukas-renggli.ch
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [hidden email]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>



--
Lukas Renggli
http://www.lukas-renggli.ch

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project