[MonoDevelop] Where Constraint Completion

Tom Spink tspink at gmail.com
Tue Apr 20 05:25:16 EDT 2010


Hi guys,

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,
-- 
Tom Spink
-------------- next part --------------
A non-text attachment was scrubbed...
Name: where-completion.patch
Type: text/x-patch
Size: 1846 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20100420/94dff5cb/attachment.bin 


More information about the Monodevelop-list mailing list