List Info

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




Implementing auto indenting and intellisense for ruby classes in freeride
user name
2007-05-11 18:03:35
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
Re: Implementing auto indenting and intellisense for ruby classes in freeride
country flaguser name
Poland
2007-05-11 20:16:56
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-develrubyforge.org

http://rubyforge.org/mailman/listinfo/freeride-devel
Re: Implementing auto indenting and intellisense for ruby classes in freeride
country flaguser name
Netherlands
2007-05-12 02:04:42
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:
localhost" type="cite">
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
rubyforge.org">Freeride-develrubyforge.org
http://rubyforge.org/mailman/listinfo/freeride-devel




  

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )