[MonoDevelop] Goto class dialog

Jacob Ilsø Christensen jacobilsoe at gmail.com
Mon Sep 18 16:11:54 EDT 2006


On 9/18/06, Lluis Sanchez <lluis at ximian.com> wrote:
> El dom, 17-09-2006 a las 22:09 +0200, Jacob Ilsø Christensen escribió:
> > Hi.
> >
> > The attached patch adds a goto class dialog (written in MD's GUI
> > designer!) to MonoDevelop. The GUI is still a bit crude,
>
> it is, indeed ;-)

I don't hope it's that bad! :-)


> The ideal design would have an entry box where you would type the name
> of the class and the dialog would find any class matching the substring
> (including the namespace in the search). The list of classes needs to be
> sorted.

As a matter of fact I started out with an entry box. But since the
treeview offers the same functionality I deleted it again. The dialog
is not meant to be used for class searching. It is a "go to
class"-dialog. Searching for classes is better to put in the "Search
In Files"-dialog IMO. The list should be sorted of course. Just didn't
do it yet.

> > but it should
> > be functional enough.
> >
> > A few comments:
> >
> > * I could not find a way to make the menu item appear after Goto Line
> > even though I used insertafter. Maybe due to the order in which the
> > menu is built?
>
> Yeah, that's probably the problem. The search entries are added by the
> editor add-in, whose commands are loaded after the IDE commands.

So to make this work I would have to change the editor add-in menu
items to place them around the ide menu item. Is this issue not a bit
problematic?

> > * I did not know how to autogenerate the source code from the stetic
> > file from a Makefile so the autogenerated code is in the patch too.
>
> That's ok. Including the generated code is the right thing to do.

Ok.

/Jacob

> Lluis.
>
>
>


More information about the Monodevelop-list mailing list