Best way to view many classes

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

Best way to view many classes

gruntfuttuck
Hi,

More than a few times now I have played around with squeak. I keep leaving and recently I have realized why: I find it easier to follow code with in files than with a code browser. I can scroll a file fast and even I have 10 files open I still find it easer.

So my question is: what is the best way to follow and reference multiple classes in multiple packages? I know I could open more than one class browsers but that seems cumbersome.
Reply | Threaded
Open this post in threaded view
|

Re: Best way to view many classes

Randal L. Schwartz
>>>>> "gruntfuttuck" == gruntfuttuck  <[hidden email]> writes:

gruntfuttuck> Hi,

gruntfuttuck> More than a few times now I have played around with squeak. I
gruntfuttuck> keep leaving and recently I have realized why: I find it easier
gruntfuttuck> to follow code with in files than with a code browser. I can
gruntfuttuck> scroll a file fast and even I have 10 files open I still find it
gruntfuttuck> easer.

Open a system browser.

If you want a file of a class, go to that class (second pane), and right-click
on "File out class".

If you want a file of an entire package, go to the package (first pane),
and right-click on "File out package".

The names might not be exactly that, but either of those will give you a
fairly readable flat-file that contains all the code of the package or class.

I actually find it far better to learn how the browser works, because the
organization helps me understand the intent of the authors.  I can also get to
any method of any class within a few clicks, instead of typing a lot of search
strings into a text editor and ignoring all the wrong hits.  I can also
quickly see all implementors of messages in a method so that I can understand
how they are designed, and all senders of messages so that I can see their
typical usage.  That helps me understand intent quite nicely.  If you learn
to use the tools, you might eventually agree.

But, there you have it... how to have your classes in flat files.

--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<[hidden email]> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!
_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Best way to view many classes

cedreek
In reply to this post by gruntfuttuck
>
>  So my question is: what is the best way to follow and reference multiple
>  classes in multiple packages? I know I could open more than one class
>  browsers but that seems cumbersome.

The best way to me right now is to use OB-Enhancement and the work David did...
It should be in any dev image. Still in progress but I use it a
lot...especially for tracking easily classes of interest and seached
class...

See here (http://cdrick.free.fr/smartgroup.png). In the main OB
browser you select the smart tab. You can add package, class and even
metthod I guess to different smartgroups... There is a special one for
searches.

Of course there are other alternatives, like StarBrowser, Whisker
Browser etc... I choose OB as it could be the default... and even if
not perfet (work still in progress), it's closer to the standard
browser and then easier to use.

hth

Cédrick

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Best way to view many classes

Chris Kassopulo-2
In reply to this post by gruntfuttuck
On Sat, 03 May 2008 05:46:31 -0700, gruntfuttuck wrote:

> Hi,
>
> More than a few times now I have played around with squeak. I keep
> leaving and recently I have realized why: I find it easier to follow
> code with in files than with a code browser. I can scroll a file fast
> and even I have 10 files open I still find it easer.
>
> So my question is: what is the best way to follow and reference multiple
> classes in multiple packages? I know I could open more than one class
> browsers but that seems cumbersome.

Greetings Grunt,

Try Omnibrowser. It can have multiple code panes. Here's a blog that talks
about it in an entry called "Better Code Browsing in Squeak".

http://tinyurl.com/555de6

Chris

_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: Best way to view many classes

Sophie424
"Chris Kassopulo" <[hidden email]> wrote in message
news:fvhq9m$l8m$[hidden email]...

> Try Omnibrowser. It can have multiple code panes. Here's a blog that talks
> about it in an entry called "Better Code Browsing in Squeak".
>
> http://tinyurl.com/555de6

Wow. Grouping, multi-code panes, and back button. Thank you for the pointer!



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