Bug 13408 - Code completion working when it shouldn't
Summary: Code completion working when it shouldn't
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding ()
Version: 4.0.13
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: master
Assignee: Mike Krüger
Depends on:
Reported: 2013-07-23 09:57 UTC by Ryan Alford
Modified: 2014-01-21 11:28 UTC (History)
2 users (show)

Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.

Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:

Description Ryan Alford 2013-07-23 09:57:37 UTC
Description of Problem: When creating a new method and writing it's signature, code completion tries to autocomplete parameter variable names.

Steps to reproduce the problem:
1. Create a new method.
2. As you are typing the method signature parameters, when typing the variable name of the parameter, code completion tries to complete the variable name(when there is no variable name to complete it to as we are creating it).

Actual Results:

Typing this method..

private void HandleClick(object sender, EventArgs e)

when getting to the 'e' and hitting the closing parenthesis, code completion will change 'e' to 'else'.

Expected Results:

Code completion should not be enabled when typing parameter names for methods.

How often does this happen? 

All the time

Additional Information:

Is there possibly a setting that I am missing to turn this off?
Comment 1 Mikayla Hutchinson [MSFT] 2013-07-23 11:45:04 UTC
What version of Xamarin Studio?
Comment 2 Ryan Alford 2013-07-23 11:46:30 UTC
Xamarin Studio version 4.0.9
Comment 3 Mike Krüger 2013-07-23 11:49:43 UTC
Should work in a newer version.
Comment 4 Ryan Alford 2013-11-06 11:58:58 UTC
I have updated to the latest stable version of Xamarin Studio, and this still occurs.
Comment 5 Mike Krüger 2013-11-29 02:16:54 UTC
Works for me - the 4.2.x line should contain the fix.
Comment 6 Atin 2014-01-21 11:28:45 UTC
Today, we have checked this issue with following builds:

XS 4.2.3(build 146)- 76e7c7f6ca0e59052f2bb29f8179313510977377

Now we are not getting this issue, after typing private void HandleClick(object sender, EventArgs e) when we type 'e' its not changing to 'else'.

Screencast: http://www.screencast.com/t/buQPY8MtnzR

Hence marking this as Verified.