Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
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
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.
Created attachment 189 [details]
When you use the name of a type that you do not have the correct "using" for, it says "No Matches". You can right-click on the type and do Resolve to automatically fix this.
It would be nice if the 2 Resolve options could just appear in the Intellisense popup and when you select them they work the same as Resolve.
Control-alt-enter solves your problem.
Sorry, meant control-alt-space.
Ah, that works. Can we pop that one up when there are no matches in intellisense but there are matches for resolve? Obviously no one is going to discover Ctrl-Alt-Space.
then we should advertise ctrl+alt+space - but you're right that this can be improved (and should be IMO)
ctrl-alt-space has a different use case - it's the command to explicitly "import a type". That means it allows you to use substring matching to find the type and import it. The fact that it can be used to "resolve" a name that was already typed out fully is a happy side-effect.
In this specific use case - where the user types out an exact name and it says "No Matches" - I agree it would make sense to handle it specially. Maybe when the completion window is in a "no matches" state it could trigger a hook to offer more advanced suggestions, which would try to resolve that particular name, and offer the import or fully-qualified version.
We've that as option (show import items) now.