[MonoDevelop] Autocomplete behavior question
Piotr Wysocki
piotr.wysocki at mlabs.pl
Fri Mar 4 04:37:04 EST 2011
Just my 2c of user experience.
On 03/03/2011 06:09 PM, Stephen Shaw wrote:
> I was talking to mkrueger on irc and asked that I move this to the
mailing list.
>
> In monodevelop, if whenever text the cursor is touching will be
> deleted if you hit ctrl+space which triggers the auto complete list.
> This has thrown me off a few times.
>
> For example, if you type else and place the cursor at the beginning
> and hit ctrl+space selecting anything from the list like if will
> delete else and replace it with if.
>
> I was wondering if maybe doing something like highlight the text that
> the cursor is touching, when you hit ctrl+space, would visually show
> that it is going to delete that text with whatever you select.
This annoys me as well.
I pretty often catch myself on doing this way of coding:
var x = FooMethod (args);
then after some thought I would change that to:
var x = BarMethod (FooMethod (args));
so I go with the cursor to 'F', type BM, ctrl-space, and voila!
But instead of "BarMethodFooMethod (args)" (which is only a few
characters left from the target) I get "BarMethod (args)".
I would prefer "BarMethodFooMethod" -- having cursor still at 'F',
I can always do ctrl-shift-right, del.
It's not an issue for me anymore, it annoyed me enough
to learn myself to type a space before 'F' and go left (before the
space). And you always have Undo.
But as the issue came up for others, I would welcome a change of behaviour.
Cheers,
--
Piotr Wysocki
Mobile Systems Research Labs, Poznan University of Technology
More information about the Monodevelop-list
mailing list