Bug 20632 - Overloads list window is always shown when typing
Summary: Overloads list window is always shown when typing
Status: RESOLVED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 5.0.1
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: master
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2014-06-16 16:26 UTC by oppixp
Modified: 2014-06-21 07:59 UTC (History)
2 users (show)

Tags:
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:
Status:
RESOLVED FIXED

Description oppixp 2014-06-16 16:26:14 UTC
Hello guys,

I think found a bug in the latest version of Xamarin Studio:

Whenever I start typing between the opening and closing braces like in

var v = new Vector3(1,1,1);

the overloads list is shown. I always have to hit the Esc-key before I can move the cursor one line up or down.

The setting in "/Completion list/Show completion list after a character is typed" seems to have no effect.
 
Best regards

  Arnd
Comment 1 Tajinder Singh 2014-06-17 03:45:46 UTC
I have checked this behaviour and I am able to found this behaviour. 

Case1: Whenever I start typing between the opening and closing braces like in  
                         var v = new Vector3(1,1,1);
           the overloads list is shown.

This is the feature of Xamarin Studio. When we write anything inside the method or declare a class by using the constructor that has more than one parameters, it shows its list of overloads. To move cursor up and down to the line we have to press "Esc" key.

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

Case2: The setting in "/Completion list/Show completion list after a character is typed "seems to have no effect.

This behaviour is also working. When I check the "Show completion list when character is typed" option (Xamarin Studio=>Preferences=>Text Editor=>Completion Behavior) I am getting an suggestion window when I type "a" and  if I uncheck this option I will never get any suggestion window. 

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

Please let me know if I am missing anything ?

Could you please provide the build version (Click on Xamarin Studio=>About Xamarin Studio=> Show details)? So that we can reproduce case 2 at our end.

Environment Info:

Mac OS X 10.9.2
Xamarin Studio: 5.0 (build 878)

Build Information
Release ID: 500000878
Git revision: bcd66920d963483e7d638a2339c4022fe035b529
Build date: 2014-05-27 17:36:26-04
Xamarin addins: da9064ce55b0fa90930a7c437a4cc1ae0e5c778c
Comment 2 Tajinder Singh 2014-06-17 03:57:05 UTC
I have also checked this behaviour with following builds and I am not getting these behaviour mentioned on bug description.

Mac OS X 10.9.2
Xamarin Studio: 5.0.1 (build 3)

Build Information
Release ID: 500010003
Git revision: f94ee866936d25105704eb63728ad5a981eda0a4
Build date: 2014-06-04 12:19:12-04
Xamarin addins: 1a6044e8321ea07e03a56b5381951686c82fed8b
Comment 3 oppixp 2014-06-19 06:33:58 UTC
Thank you for the quick response. I am using build 3.

Case 1:

I think it would be better if the overloads list is only shown directly after typing the opening brace ( or on demand using a hotkey like Visual Studio does or older versions of Xamarin Studio do. But please do not show it whenever an arbitrary key is pressed anywhere between the braces. This behaviour slows down development a lot. Most of the time I do not want to see the overloads list. Especially when altering values of vectors in my case. Please revert this feature or give the user an option to enable it.

Case 2:

You are right, I was mistaken. This feature works as expected. I mixed them up. The overloads list is not shown here.
Comment 4 Tajinder Singh 2014-06-20 06:29:36 UTC
I have check this issue and with the help of "Comment 3", I am able to reproduce this issue.

Steps to reproduce

1. Open a "Console Application" on XS.
2. Write the following code in the "Main()" method

            string s = "Test";
            s.IndexOf("es");

3. Replace "es" to  any other character ( for example: "est") inside the "s.IndexOf("tes") method.
4. An overload list will be shown.

I observed that when I edit/change the parameter in a method which has overloads I am getting an overload list each time when I rename or change the parameter.

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

Regression Status: This issue does not exits on XS 4.2.3.60

Environment Info:

Mac OS X 10.9.3
Xamarin Studio: 5.1.1 (build 0)

Build Information
Release ID: 501010000
Git revision: 00346606c36617d7d4cc21d33207e44abef8137a
Build date: 2014-06-18 00:30:54-04
Xamarin addins: 4072f200bfd429706bec44bfa9ebf698f9439b67
Comment 5 oppixp 2014-06-20 15:12:39 UTC
Fine, I really like the screencasts. Keep up the good work! :)
Comment 6 Mike Krüger 2014-06-21 02:43:34 UTC
I wasn't sure if that's a bug. This is the behavior we had :)
The parameter hinting worked that way - if you're used to it you do not see that. But your use case is valid - it's anoying but I never recognized that it was.

I changed the behavior - the hinting is now much less eager to show. 

fixed (5.2.0.96)
Comment 7 oppixp 2014-06-21 07:59:45 UTC
Thank you very much. I appreciate that! :)