[MonoDevelop] Visual Studio style code completion

Stephen Roller mono@omghack.com
Thu, 05 Aug 2004 20:24:58 -0500


I know how to implement this feature, and I fully intend on doing so,
but I wanted to ask a question first.

In order to give the user a choice between vs.net autocompletion and
sharpdevelop completion, I thought it would make sense to have the user
make the choice here:
  Edit -> Preferences -> Text Editor -> General
  Fork 'General Options' to 'General Options' and 'Code completion'
  General Options would still contain cold folding and double buffering
  Code Completion would have the following options:
       Use Sharpdevelop style code completion
       Use Visual Studio.net style code completion
       Do not use code completion

I would no longer save the setting in "EnableCodeCompletion."  Instead,
I would use "CodeCompletionStyle" and possible values would be
	sharpdevelop
	visualstudio
	none

Suggestions?  Anything I'm missing?  I'm eager to add these options to
Monodevelop, but wanted to get other's opinions before I write these
patches.  This is my first contribution to any open source project, so I
hope you understand my need for approval.

--Stephen

On Wed, 2004-08-04 at 19:45, matt wrote:
> I would also like this feature very much.
> 
> --Matt
> 
> On Wed, Aug 04, 2004 at 12:54:55PM -0400, Stephen Roller wrote:
> >      I've just recently started learning C# on both .Net and Mono.  I've
> > been using VS.net 2002 for .Net and Monodevelop for Mono.  I'm
> > finding that the Mono project is very exciting and I'm looking
> > forward to seeing all the developments.
> >      While using Monodevelop, I noticed it has one very different behavior
> > from VS.net.  When using code completion in visual studio, any
> > non-letter/numeric/underscore character except escape will cause an
> > auto-completion and that character written.  Tab and enter simply
> > cause auto-completion.  Monodevelop only autocompletes when you press
> > enter.  I personally prefer the Visual Studio way over the
> > Monodevelop/Sharpdevelop way.
> >      The solution I propose is to have an option for a developer to choose
> > between Sharpdevelop and Visual Studio style autocompletion.  The
> > default would be Sharpdevelop style, but any developer migrating from
> > a Windows platform could use the second option.
> >      I know this is not considered a 'major bug' or anything like that,
> > but it is one of those little things that makes a program better.
> > I've already started looking at source code to see where I would make
> > the changes necessary.
> >      Is anyone interested in this behavior?  Should I go ahead an finish
> > my patches or wait for someone else to code it?
> > 
> > --Stephen Roller
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list@lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> > 
> > 
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>