Implementing auto indenting and intellisense for ruby classes in freeride

View: New views
3 Messages — Rating Filter:   Alert me  

Implementing auto indenting and intellisense for ruby classes in freeride

by Paul Thirumalai :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All
I am trying to implement auto indenting and intellisense in freeride. Could someone point me to teh correct plugin I should be looking at to modify. Or am I totally in teh wrong direction and should actually be doing something else, other than creating/modfying a plugin.
 
Thanks
Paul

_______________________________________________
Freeride-devel mailing list
Freeride-devel@...
http://rubyforge.org/mailman/listinfo/freeride-devel

Re: Implementing auto indenting and intellisense for ruby classes in freeride

by Marcin Raczkowski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Dnia 11-05-2007, pią o godzinie 16:03 -0700, Paul Thirumalai napisał(a):
> Hi All
> I am trying to implement auto indenting and intellisense in freeride.
> Could someone point me to teh correct plugin I should be looking at to
> modify. Or am I totally in teh wrong direction and should actually be
> doing something else, other than creating/modfying a plugin.
>  
> Thanks
> Paul


try ruby2ruby and parsetree, but work on freeride is mostly stoped - so
ttry netbeans instead ^^


_______________________________________________
Freeride-devel mailing list
Freeride-devel@...
http://rubyforge.org/mailman/listinfo/freeride-devel

Re: Implementing auto indenting and intellisense for ruby classes in freeride

by Jonathan Maasland :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

First off I'd like to mention that after a period of well over half a year I'm starting to program again. I've suffered from a pretty severe depression and am still trying to cope with it. Hopefully the next month or two I'll be able to create something useful for FreeRIDE again. (note the hopefully)

Secondly, I started looking at ParseTree just yesterday so I can't really say I'm speaking from experience but it seems like a nice interface to parse Ruby files with. Currently we are using an old(er) version of Ripper which unfortunately can't parse all the Ruby files in the standard distro. I've worked on Ripper (a long time ago) and it's not easily modified code. That said it is waaaay faster than ParseTree.
You could take a look at the plugins/rubyide_tools_source_parser directory to see how Ripper is currently being used. When a new project is created all existing ruby files are parsed and classes modules and methods are displayed in the project_explorer.

IntelliSense is a really great idea and has been proposed here before. However, it's a really complex beast to overcome. I mean sure it's easy to create a dropdown list for every method but you want to minimize the list to the context in which it is requested. Not only would you have to parse the current source file every step of the way, you'd also be presented with the occasional unfinished lines (read parsing errors). What would you do in that case? Like I said, it's a really great idea but I don't think it's achievable just yet.

If you want to contribute to FreeRIDE maybe you could take a look the debugger and some of the problems (most notably WinXP-SP2) there.

Sorry for the somewhat long email.

Hope this helps.

With a friendly greeting,
Jonathan

Marcin Raczkowski wrote:
Dnia 11-05-2007, pią o godzinie 16:03 -0700, Paul Thirumalai napisał(a):
  
Hi All
I am trying to implement auto indenting and intellisense in freeride.
Could someone point me to teh correct plugin I should be looking at to
modify. Or am I totally in teh wrong direction and should actually be
doing something else, other than creating/modfying a plugin.
 
Thanks
Paul
    


try ruby2ruby and parsetree, but work on freeride is mostly stoped - so
ttry netbeans instead ^^


_______________________________________________
Freeride-devel mailing list
Freeride-devel@...
http://rubyforge.org/mailman/listinfo/freeride-devel



  


_______________________________________________
Freeride-devel mailing list
Freeride-devel@...
http://rubyforge.org/mailman/listinfo/freeride-devel