Bug 24169 - It would be nice for the intellisense tool tip to show the namespace of a type
Summary: It would be nice for the intellisense tool tip to show the namespace of a type
Status: VERIFIED FIXED
Alias: None
Product: Xamarin Studio
Classification: Desktop
Component: Text Editor ()
Version: 5.2
Hardware: PC Mac OS
: Normal enhancement
Target Milestone: (C7)
Assignee: Mike Krüger
URL:
Depends on:
Blocks:
 
Reported: 2014-10-30 14:19 UTC by Greg Munn
Modified: 2016-06-02 11:14 UTC (History)
8 users (show)

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


Attachments
Tooltip (76.53 KB, image/png)
2014-10-30 14:19 UTC, Greg Munn
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:
VERIFIED FIXED

Description Greg Munn 2014-10-30 14:19:33 UTC
Created attachment 8566 [details]
Tooltip

When exploring unfamiliar code, relying on the tool tip to show you information about a type isn't as helpful as it could be. The thing I find the most is that I can't tell from which namespace a type comes from. It would be nice if the tooltip included the namespace of the type.
Comment 1 Lluis Sanchez 2014-10-30 14:32:45 UTC
If you hold Option while moving the mouse over a member, the tooltip will show namespace information. However, this is not very discoverable. Maybe the regular tooltip should include a message like "Hold Option for more information" or something like that. CCing to David and Vaclav, so that they can provide feedback.
Comment 2 Vaclav Vancura 2014-10-30 14:42:47 UTC
I'll take a look at it.
Comment 3 Greg Munn 2014-10-30 15:02:43 UTC
I don't think you want to add in help text to the tool tip, that is very quickly just going to be noise for the user to filter out all the time.

I like that you can get the extra information about the file and line number, but for me the most useful is just to know what the namespace is. 

Maybe you add in the additional line / file information if the user hovers longer (mmm).
Comment 4 Ram Chandra 2014-10-31 06:13:23 UTC
As per comment 1, I am changing it's status to "Confirmed" and changing it's importance to "enhancement".
Comment 5 Nina 2015-05-07 14:42:14 UTC
I noticed this only works if you hold down option and THEN hover, but not if you hover and then press option. At the very least, could we fix this?
Comment 6 Vaclav Vancura 2015-05-07 14:42:58 UTC
Would it collide with anything else, like (potential) column selection mode?
Comment 7 Vaclav Vancura 2015-05-07 14:43:30 UTC
Also CTRL on Windows?
Comment 8 Vaclav Vancura 2015-05-07 16:37:14 UTC
So the final solution is this: we'll show only the simpler tooltip (probably with a shorter display delay) and there won't be any advanced tooltip.

We'll have a new Help pad (design pending) with all the advanced information you might be looking for (not only namespaces, but also overrides, compatibility notes etc.)

For now please don't do anything, as removal of the advanced tooltip before adding the Help pad would stop people to see the information they request. We'll continue as soon as the pad is ready.
Comment 9 Vaclav Vancura 2015-05-08 14:04:09 UTC
See design issue at https://github.com/xamarin/design/issues/581
Comment 10 Mike Krüger 2015-05-13 01:28:13 UTC
@Nina: fixed 

Other than that I set it not on roadmap since it's implemented as hidden feature and will be replaced in the future with another solution.
Comment 11 Mike Krüger 2015-05-13 01:28:43 UTC
note: no the key doesn't collide with anything else because it only affects tooltips and when doing selections tooltips shouldn't be shown :)
Comment 13 Mike Krüger 2015-05-18 10:23:01 UTC
implemented in roslyn branch.
Comment 14 Abhishek 2016-06-02 11:14:46 UTC
I have checked this issue with latest C7 build:
XamarinStudio-6.0.0.5174_c2c4170731bec0e8361f2cbe836334efb7a97324. Now this issue is working fine. Here is the screencast for the same:
http://www.screencast.com/t/n8pZ9iKbpR

Hence closing this issue.

Thanks!