Bug 734 - Autocompletion can not resolve simple fields
Summary: Autocompletion can not resolve simple fields
Status: CLOSED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 2.8 Beta 1
Hardware: Macintosh Mac OS
: Highest blocker
Target Milestone: 2.8
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2011-09-11 01:15 UTC by Miguel de Icaza [MSFT]
Modified: 2012-01-03 11:32 UTC (History)
3 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:
CLOSED FIXED

Description Miguel de Icaza [MSFT] 2011-09-11 01:15:12 UTC
Steps to reproduce:

1. Create a new MonoTouch solution, of type "MonoTouch Single View Application" - Universal (or iPhone)

2. Go to the generated AppDelegate class, just before the line that says:

window.RootViewController = viewController

Insert the text "viewC", notice that "viewController" is not offered.   End typing "viewController", notice that at no point did it offer completing viewController

3. Type ".", notice how it now changed the valid "viewController" field into the class "UIViewController".
Comment 1 Mike Krüger 2011-09-12 03:33:15 UTC
Works for me as well:

http://screencast.com/t/3hFkFbDT0

Are you using beta1 or master ? I checked the code completion bug tests and they seem to work.

Another possibility is that there may be something wrong with the project .pidb files but even that shouldn't result in a bug like that because the current open file is always parsed and always the recent parse info is taken. 

Therefore I need more info (& check the master version). Try starting monodevelop from command line with make run - the console output may help >or< the internal message log (pad). All error information is printed there as well.
Comment 2 Miguel de Icaza [MSFT] 2011-09-12 09:45:04 UTC
This happens with our officially released MonoDevelop 2.8 Beta 1.
Comment 4 Mike Krüger 2011-09-12 10:47:31 UTC
this one is fixed.
Comment 5 Atin 2011-12-29 00:43:12 UTC
We have validated this issue and noticed that Autocomplete shows the 'viewController' when I typed 'v' just before the window.RootViewController = viewController line on AppDelegate class file.

Hence , Please closed this issue.

Environments:
MAC 10.7
Mono Develop 2.8.5 Stable
Mono Touch 5.0.4 Stable
Mono Framework 2.10.7 Beta