[MonoDevelop] text editor patch for simple class/member selector

atsushi eno atsushi at ximian.com
Mon Jan 8 11:50:31 EST 2007


Hello,

2007-01-08 (月) の 16:40 +0100 に "Andrés G. Aragoneses [ knocte ]" さん
は書きました:
> Hey atsushi, this is a great feature! Just my two cents:

Thanks :)

> - Why not get the best of both worlds? If there is more than one class 
> in the file, show two comboboxes, but if not, show one.

Hmm, I don't think it is worthy of introducing complexity for it. It
will be like, when you add a new class to the source, another combobox
will suddenly appear, and when you remove it, the combobox will also
disappear. Such behavior would look rather weird than cool.
If we still decide to go that way, my patch does not fit with such
behavior, since my strategy is to populate the list when the combobox is
focused (unlike the one from James that Michael pointed).

> And I would go for hiding some information so as to avoid large combobox 
> entries. For example I would hide keywords, pre-namespaces and type 
> returned. Then, instead of:
> 
> virtual MonoDevelop.Ide.Gui.IViewContent CreateContentForMimeType(string 
>   mimeType, System.IO.Stream content)
> 
> Just:
> 
> CreateContentForMimeType(strint mimeType, Stream content)

Yeah, I wanted short formatting too. After short digging I found that
there is ConversionFlags.QualifiedNamesOnlyForReturnTypes to make it
possible :-)

I will post another patch for dual combobox when I'm done with it.

Atsushi Eno




More information about the Monodevelop-list mailing list