Bug 1980 - No auto complete popup appears when user enter '.' after any function and variable
Summary: No auto complete popup appears when user enter '.' after any function and var...
Status: CLOSED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: iOS add-in ()
Version: Trunk
Hardware: Macintosh Mac OS
: Normal normal
Target Milestone: ---
Assignee: Alan McGovern
URL:
Depends on:
Blocks:
 
Reported: 2011-11-10 06:03 UTC by Saurabh
Modified: 2011-12-22 10:15 UTC (History)
5 users (show)

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


Attachments
Function (141.95 KB, image/tiff)
2011-11-10 06:04 UTC, Saurabh
Details


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:
CLOSED FIXED

Description Saurabh 2011-11-10 06:03:57 UTC
Steps to rproduce:
1.Launch MonoDevelop
2.Create MonoTouch Single view application.
3.Open Main.cs file.
4.Type any keyword.
5.Auto complete popup appears.
6.Double click any function/variable.
7.Type . after function/variable.
8.No auto complete popup display.

Actual result:
When user type . after selected function/variable,no auto complete popup appears.

Expected result:
Auto complete popup shoud be appears after selecting function/variable.

Enviornment:
MonoDevelop 2.9.0
MonoTouch 5.1

Test data:
Please refer attached screenshot.
Comment 1 Saurabh 2011-11-10 06:04:39 UTC
Created attachment 863 [details]
Function
Comment 2 Saurabh 2011-11-10 06:06:06 UTC
This is working fine for MonoforAndroid but not for MonoTouch
Comment 3 Sebastien Pouliot 2011-11-10 11:57:23 UTC
-> monodevelop
Comment 4 Alex Corrado [MSFT] 2011-11-10 13:33:50 UTC
From the screenshot, and a little of my testing, it seems this is only happening outside the context of a method. Within the body of a method, the autocomplete box seems to work fine.
Comment 5 Alan McGovern 2011-11-10 13:37:36 UTC
It's highly possible that in this case the code completion has simply gotten more accurate. There are no valid things to display in this kind of scenario unless the attribute has an inner class like:

public class Foo
{
    public class Bar
    {
    }
}

In that case it'd be expected and valid to see 'Bar' listed when you press dot. Otherwise it should display nothing.
Comment 6 Alex Corrado [MSFT] 2011-11-11 17:45:41 UTC
This also seems to affect declaring new namespaces. You type "namespace " and it gives you a list of completions, but if you choose one and type '.' there is no further completion list presented.
Comment 7 Alan McGovern 2011-11-28 05:45:08 UTC
The initial screenshot looks like not a bug and the namespace issue has been resolved in the newresolver branch (where the regression existed), so closing this.
Comment 8 Alan McGovern 2011-11-28 05:45:16 UTC
The initial screenshot looks like not a bug and the namespace issue has been resolved in the newresolver branch (where the regression existed), so closing this.
Comment 9 Saurabh 2011-12-22 10:15:27 UTC
We have tested this issue,this is working fine.

Hence closing