Kdevelop ruby parser patch

Tim Harper tim at matchbin.com
Fri Apr 21 18:13:08 UTC 2006


On Friday 21 April 2006 05:17, Richard Dale wrote:
> On Friday 21 April 2006 05:53, Tim Harper wrote:
> > Here is the ruby parser patch.  This will recognize classes like so:
> >
> > class Widget::WidgetContentTextController <
> > Widget::WidgetContentController
> >
> > and, just discards the namespace Widget:: and stores
> > WidgetContentTextController.
>
> Thanks for the patch, I've applied it to the release and 3.4 branches. In
> the future it might be better to create a namespace in the class browser
> for the Widget:: module too..
>
> -Richard
Yeah, I was looking into how to do that, but I don't really have a full 
understanding on how the code database engine is working.  The regular 
expression is capturing the namespace quite well there, so it should be 
pretty easy to do.

If you could give me a hint on how to go about it, I could go see what I can 
do :)

thanks,
Tim




More information about the KDevelop-devel mailing list