[MonoDevelop] "Implement interface" issues

Jerome Haltom wasabi at larvalstage.net
Fri May 25 15:44:18 EDT 2007


Speaking of such:

Has anybody spoken up about having configurable code formatting settings
yet? I *think* sharp develop supports this?

Basically a dialog where you can tell it whether you want a space after
method names and a dropped '{'.

On Fri, 2007-05-25 at 14:37 -0400, Jeffrey Stedfast wrote:
> On Fri, 2007-05-25 at 06:26 -0400, Jeffrey Stedfast wrote:
> > On Thu, 2007-05-24 at 22:55 -0700, Sanford Armstrong wrote:
> > > Hey all,
> > > 
> > > Not sure if the "Implement interface" feature is ready to receive bug
> > > reports...let me know and I'll just open this in Bugzilla.
> > 
> > nah, not too early :)
> > 
> > > 
> > > I'm loving this feature but I've noticed the following issues when
> > > using "Implement interface":
> > > 
> > > 1. Generics don't seem to be handled for parameters or return types.
> > > If I specify IList<string> for a return type, for example, the
> > > generated code will show IList<>.
> > 
> > ah, yea, forgot to implement that :)
> 
> ok, I have a solution for this that I'm getting ready to commit to svn
> 
> > 
> > > 
> > > 2. Generated code uses verbose/awkward type names.  For example: int
> > > -> Int32, bool -> Boolean, void -> Void
> > 
> > yea, this annoys me too but I'm not sure how to fix it... I gotta read
> > up more on the CodeDom generator I guess.
> 
> got a fix for this too (turns out it's not CodeDom's fault afterall)
> 
> > 
> > > 
> > > 3. Generated code doesn't follow Mono coding standards (no space
> > > between method name and open parentheses).
> > 
> > hmmm, I'll look into that (I thought it did, but maybe I wasn't paying
> > close enough attention) - will probably require more CodeDom foolery :\
> > 
> > (I've just been constructing CodeDom stubs and then having them generate
> > code and I seem to have very little control over the output it
> > generates)
> 
> think I'm gonna have to write a hack for this...
> 
> > 
> > > 
> > > Thanks for all the great new stuff in SVN to play with!
> > 
> > np :)
> > 
> > > 
> > > Cheers,
> > > Sandy
> > > _______________________________________________
> > > Monodevelop-list mailing list
> > > Monodevelop-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> > 
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list



More information about the Monodevelop-list mailing list