Adelle Hartley
3/30/2005 5:51:00 AM
Hi,
> The difficult thing is not really gathering of information.
> It is the way how do you want to present the thousands of
> methods found in your files and the runtime library.
>
> Since type interference is quite impossible the only solution
> i came up is some kind of a smalltalk class browser and a
> very clever interface to find the right method with as less
> as possible shortcuts.
> So any ideas here would be very helpful.
I'm writing code against an ORM layer, so the attributes of my object
variables are defined in my database schema, not in my source code.
I think the IDE needs to be running a Ruby debugger and capture it's state
(which variables, constants, classes, methods, etc are 'visible' at a
particular point).
The problem with this approach is that when examining a particular line of
code, there may be several routes by which one might reach that line of code
at run-time.
My suggestion presupposes the use of a debugger (which would pick up classes
and attributes that my ORM layer gets from the database), but rather than
having it execute my application, having it execute the first part of my
application (where 90% of my classes are defined) and then stop before my
application actually does anything.
The IDE would take its table of classes+attributes from state of the
debugger, and then combine that with any local definitions in the
file/module/class that I'm working on.
Adelle.