Lint, SwaLint

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

Lint, SwaLint

pascal.vollmer
Hi,

I try to check my code with Lint. I work with damien cassou's Squeak-dev image (sq3.10.2-7179dev08.10.2).

Method #1: I use the OB Package Browser and activate Lint by selecting package/open/code critics
-result- I get a Lint window saying "All checks on Smalltalk (searching)" and I am not able to select more than one rule neither to let lint analyze my code

Method #2: I try to download SwaLint from HPI and load it via Monticello
-result- I get a warning window saying "This package depends on the following classes:
  MultipleSelectionModel" and I do not see right now where to get this class.

What is your experience? Does Lint or SwaLint work? Is there anything wrong with the way I apply those tools? I found those tools very helpful in the past and I had them working well in a former image...

Regards
Pascal


Pascal Vollmer
Email: [hidden email]

Jetzt komfortabel bei Arcor-Digital TV einsteigen: Mehr Happy Ends, mehr Herzschmerz, mehr Fernsehen! Erleben Sie 50 digitale TV Programme und optional 60 Pay TV Sender, einen elektronischen Programmführer mit Movie Star Bewertungen von TV Movie. Außerdem, aktuelle Filmhits und spannende Dokus in der Arcor-Videothek. Infos unter www.arcor.de/tv
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Lint, SwaLint

Lukas Renggli
> Method #1: I use the OB Package Browser and activate Lint by selecting package/open/code critics
> -result- I get a Lint window saying "All checks on Smalltalk (searching)" and I am not able to select more than one rule neither to let lint analyze my code

Load the latest version of OB-Refactory, it has a better progress
indicator. Running Lint on the whole image takes a very long time,
scope it to a package (open package, and then open | code critics) to
get a result more quickly. A demo on how to do that can be found here:
<http://www.lukas-renggli.ch/blog/ob-rb-3>.

Lukas

--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Lint, SwaLint

Tobias Pape
In reply to this post by pascal.vollmer
Hello Pascal,


Am 2008-11-11 um 23:45 schrieb [hidden email]:

> Method #2: I try to download SwaLint from HPI and load it via  
> Monticello
> -result- I get a warning window saying "This package depends on the  
> following classes:
>  MultipleSelectionModel" and I do not see right now where to get  
> this class.


Please install the AST and Refactoring Engine Packages,
wich SwaLint depends on (as described ealier on sqeuak-dev:
http://lists.squeakfoundation.org/pipermail/squeak-dev/2008-May/128861.html)

Have fun and let me know, whether this helps you or not.

So long,
        -Tobias


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

PGP.sig (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Lint, SwaLint

Tobias Pape
In reply to this post by pascal.vollmer

Am 2008-11-11 um 23:45 schrieb [hidden email]:

> Hi,
>
> I try to check my code with Lint. I work with damien cassou's Squeak-
> dev image (sq3.10.2-7179dev08.10.2).
>
> Method #1: I use the OB Package Browser and activate Lint by  
> selecting package/open/code critics
> -result- I get a Lint window saying "All checks on Smalltalk  
> (searching)" and I am not able to select more than one rule neither  
> to let lint analyze my code
>
> Method #2: I try to download SwaLint from HPI and load it via  
> Monticello
> -result- I get a warning window saying "This package depends on the  
> following classes:
>  MultipleSelectionModel" and I do not see right now where to get  
> this class.
And by the way, you can use all (Small)Lint test from within SwaLint
(with the lates version from monticello even the Slime Tests, if  
installed)

So Long,
        -Tobias

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners

PGP.sig (201 bytes) Download Attachment