[MonoDevelop] Where Constraint Completion

Tom Spink tspink at gmail.com
Tue Apr 20 11:01:46 EDT 2010

Hi Mike,

Thanks for the review!

I've actually just worked on version 2 - this reworks it slightly and
includes support for code completion of generic type parameters when
doing a typeof(...) expression.

The attached patch is a better version of the previous patch - not an

-- Tom.

On 20 April 2010 15:41, Mike Krüger <mkrueger at novell.com> wrote:
> Hi
> Patch taken. Seems to be good so far.
> Thanks
> Mike
>> I was fiddling around with code completion, and came across one or two
>> things that I think could make it a bit smarter - specifically, in
>> this case, is completion on generic type constraints.
>> I've come up with the following patch that adds 'new()', 'class' and
>> 'struct' to the completion list for type constraints, and also adds
>> the generic type parameters of the method or class to the completion
>> list when "where" is typed.  Please let me know what you think!
>> Thanks,
>> _______________________________________________
>> Monodevelop-list mailing list
>> Monodevelop-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monodevelop-list

Tom Spink
-------------- next part --------------
A non-text attachment was scrubbed...
Name: where-completion-2.patch
Type: application/octet-stream
Size: 2652 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20100420/8f219d6a/attachment-0001.obj 

More information about the Monodevelop-list mailing list