Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

alternative IDE for squeak/pharo

Tags:

ide

smalltalk

I've been using smalltalk for a while now and I love the language and the concept. What I just hate is the System browser. This tool doesn't even resemble a modern IDE. How am I supposed to code without tabs, outlines and handy shortcuts? I often find myself implementing a selector and noticing that it would be nice to isolate a piece of code in a separate (private) selector, just for readability shake, but I don't. Because it takes like 5 mouse clicks and I have to navigate away from the selector I am working at, and navigate back to it. Oh wait, I can't! Because it has syntax errors, because I haven't finished it yet! Kills me. And I don't have a 24 inch display to open 3 browsers.

Sorry for a little rant. My question is, is there a real IDE (Eclipse, Net.Beans, VS) for smalltalk? Maybe for some commercial version of smalltalk?

like image 218
milan Avatar asked Aug 30 '11 17:08

milan


3 Answers

You might want to check out tODE. It's at a very early stage, but it is an attempt to provide a Smalltalk IDE in the web-browser and is a break from the traditional Smalltalk IDE. With that said, I don't think you'd want to start using tODE right away, but you can keep an eye on it as it evolves.

Dale

like image 116
Dale Henrichs Avatar answered Oct 16 '22 00:10

Dale Henrichs


  • Pharo is trying to have the Nautilus Browser ready for Pharo 1.4. I suspect there will be a flood of awesome new tools as the system stabilizes over the next few releases.
  • There's the Glamorous Inspector.
  • Spoon has been mounted as a WebDAV filesystem, so you can use whatever tool you like. Spoon is not another Smalltalk, but a testbed for revolutionary Smalltalk technology, which can be incorporated into any other Smalltalk (it's currently on top of Squeak)
  • There is the Tiling Window Manager to help you organize
  • Since Squeak and Pharo are live, dynamic, open systems powered only by volunteers, anyone sufficiently motivated can create the next generation of tools ;-)

p.s. I feel your pain. The 20-browsers-open thing is a drag. Let's invent the future!

like image 6
Sean DeNigris Avatar answered Oct 16 '22 00:10

Sean DeNigris


Historically, the real "IDE" is the Smalltalk one, and one could claim that the others are just an adaptation to the limits of traditional textual programming languages (not rethorical, just check out the evolution of typical development environment UIs and how they are adding features that exists in Smalltalk from the very beggining, like the senders and references in VS).

Just a side note: actually more than 2000 open-source projects in the SqueakSource repository were coded without tabs, outlines and shortcuts (I think still in Squeak you can cross reference any text selecting and pressing with Alt-6). I can't tell you how sad I feel when I must to go back to file based developement, still don't understand why most developers love to sweep text, mess with line numbers and page up-down files in directories. The good news for you, is that you have many options:

There is an alternative browser called BobsBrowser (works in Pharo 1.3) which lets you browse

  • Class hierarchy windows exploring each class
  • System Category window
  • Unsaved edits
  • Recent classes
  • Recent methods
  • Method categories for instances and classes
  • Unsent methods
  • Driller relating every structural information
  • etc.

The advantage over the Whisker browser is that the hierarchical lists are attached to a window while in BobsBrowser you can detach them.

It all depends of the different activities you're performing when you're developing. With some experience in Smalltalk you'll find that you prefer some browser for exploratory insights and others for refactorings, etc. BobsBrowser for example is good for knowledge organization or custom navigation of Smalltalk classes and categories, the hierarchies you can see are the organizations from the Smalltalk reflective meta-architecture at any level (classes, senders, implementors), and they are expandable/collapsable (in the classic system browsers you can only expand the system categories and subcategories).

The instance variables were shown historically in the Smalltalk/V flavors, and there is an old goodie (from Squeak 2.7 IIRC) to enable it back again but almost nobody today maintains the classic System Browser in Squeak/Pharo. Adding that feature to OmniBrowser would be more complicated though because is a browser framework (as every serious framework, it took some time to learn it for the first time), although the effort of the Squeak/Pharo community is absolutely incredible, still the Smalltalk community needs more developers.

You have also a commercial Smalltalk which isn't public (downloadable) yet but includes IDE-like features of traditional programming environments

like image 5
Hernán Avatar answered Oct 15 '22 22:10

Hernán