[MonoDevelop] I need some feedback on the automatic code completion

Michael Hutchinson m.j.hutchinson at gmail.com
Fri Apr 10 13:07:12 EDT 2009


On Fri, Apr 10, 2009 at 3:47 AM, Mike Krüger <mkrueger at novell.com> wrote:
> Hi
>
> Some people don't like the new automatic code completion. Maybe we
> should turn it off by default.
>
> I need some input from our users if this is a good default setting to
> turn it of. The point is that some people type variables/methods not yet
> declared and the code completion and the code completion completes the
> variable to smothing that is 'valid' (for examlple -> i<space> becomes
> if).
>
> This is something that can be annoying (I tend to close the code
> completion window in these cases) - I'm used to the automatic code
> completion therefore I'm a bit biased on that feature :)

Well, I love it, but from the feedback we've got, it seems that quite
a few people aren't fans :)

IMO a good default would be to enable the aggressive completion, but
disable commit-one-space (and other chars), so default options
something like:

[x] Enable code completion
    [x] Aggressively trigger code completion list
    [ ] Commit completion list selection with space or punctuation.

This would ensure that all our users initially *see* aggressive
completion, but it won't get in their way unless they choose to enable
commit-on-space/punctuation.

> How about:
>
> * shift+space to override the code completion and always NOT complete
> (like vim - just insert space without any magic).

That could be useful, but what about the other characters that commit
the selected item?

> * make undo a bit more intelligent. For example:
> "i"<space> becomes "if<space>" now undo does : "i". How about undo undos
> it to "i<space>" ?

Definitely a good idea.

-- 
Michael Hutchinson
http://mjhutchinson.com


More information about the Monodevelop-list mailing list