Bug 59889 - Import symbol (Ctrl+Alt+Space) shows nothing
Summary: Import symbol (Ctrl+Alt+Space) shows nothing
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: C# Binding (show other bugs)
Version: Trunk
Hardware: PC Mac OS
: Normal normal
Target Milestone: 15.6
Assignee: Mike Krüger
Depends on:
Reported: 2017-10-02 12:50 UTC by Lopatkin Ilja
Modified: 2017-10-27 07:29 UTC (History)
3 users (show)

See Also:
Is this bug a regression?: Yes
Last known good build: (d15-5)


Description Lopatkin Ilja 2017-10-02 12:50:44 UTC
Recently (after merge with master-roslyncompletion branch I guess) the completion mechanism stopped showing types that could be imported. For example, you type "ConcDic", press Ctrl+Alt+Space and instead of getting proposal to import namespace containing ConcurrentDictionary it gives an empty list.
Comment 1 Mike Krüger 2017-10-04 08:43:44 UTC
That's not enabled by default.

text editor -> intellisense -> show import items

If that worked before it was a bug.
Comment 2 Matt Ward 2017-10-04 08:55:04 UTC
I have that option enabled. This works in 7.3 and below but not in 7.4 Build 205 (master).

In 7.3 with the caret at the end of 'ConcDic' pressing Ctrl+Alt+Space converts it into ConcurrentDictionary. VS Mac 7.4 shows No Completion items in the code completion window. You also get ConcurrentDictionary in the code completion window as you type 'ConcDic' in VS Mac 7.3 but not with 7.4.
Comment 3 Lopatkin Ilja 2017-10-04 09:40:00 UTC
No, this option, as far as I managed to understand it, affects the behavior of casual completion procedure. Then it would show not only types and methods available in the scope, but also possible imports to get those types and extension methods into the scope.
I'm talking about Ctrl+Alt+Space completion which is called "Import symbol" in key binding settings. And, by the way, if I enable aforementioned option it still woudnl't show any import proposal, even in casual completion.
Comment 4 xamarin-release-manager 2017-10-27 07:29:01 UTC
Fixed in version (master)

Author: Mike Kr??ger
Commit: 446037df37356b2a2fd36fc13815115b6070ed01 (mono/monodevelop)

Note You need to log in before you can comment on or make changes to this bug.