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.
It seems that context-sensitive help (On Mac bounds to command-alt-shift-/) works as long as the type can be fully resolved, and takes me directly to that type or method.
For example, hitting it in WriteLine here works:
But it fails if it is unable to resolve the statement, for example:
Or if the type does not exist.
In those cases, we should instead invoke MacDoc with an option to search for the word under the cursor.
Some context, users can not get this to work, likely because the type does not resolve sometimes:
Surely we should also be able to do a "best guess" resolve in that case?
Let us add a --search=TERM option to MacDoc.
Jeremie, that is in your plate.
Mike, you should make it so that if we can not resolve, we invoke the help with that.
Implemented in uirefresh.
@mhutch: I think that case only happens when an assembly ref is missing - why wouldn't a user just use the resolve feature instead?
(at least after we integrate the context sensitive hints)
Reopening, the ball is now on Jeremie's court to implement --search=TERM
Implemented on MacDoc side.
The MonoDevelop side doesn't work though, if the member is unresolved, SourceEditorWidget::MonodocResolver is never called with the contextual search shortcut.
Should work now.
Still not calling the right method.
Which use case do you have ?
It works for me on the console.writeline case - either it searches for WriteLine or Console.
The method called is HelpOperations.SearchHelpFor
btw. are you trying ui-refresh or master ?