This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 76386 - Improved variable display on mouseover
Summary: Improved variable display on mouseover
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 5.x
Hardware: PC All
: P3 blocker (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-15 15:52 UTC by ssteiner
Modified: 2010-09-23 08:37 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments
screenshot showing how visual studio 2005 handles the mouseon hover (16.46 KB, image/gif)
2006-05-15 15:52 UTC, ssteiner
Details

Note You need to log in before you can comment on or make changes to this bug.
Description ssteiner 2006-05-15 15:52:19 UTC
Microsoft introduced an extremely useful feature in their 2005 IDE series. When
hovering over a variable during debugging, you can browse the whole class
hierarchy from within the hover field.

So for instance if you have a class
public class someClass
{
public String str1, str2;
public int int1, int1;
}
declared as 
SomeClass sc = new SomeClass();
sc.str1 = "some string";
sc.str2 = "another string";
sc.int1 = 5;

And you hover over sc, you not only see "SomeClass" but a small + in front of
it, and when you click on it, you get to see the whole class in hierarchic form. 
For more complex hierarchies, you get to see base classes as well, and where the
variables actually belong to.. similar to what you see in "local variable" in
NB, but it's all accessible from within the hover, thus sparing you from having
to open the local variables window (you might not have enough screen real-estate
to always have this open in the size where it gets really useful). 

I'll attach a screenshot that shows how this looks.
Comment 1 ssteiner 2006-05-15 15:52:57 UTC
Created attachment 30402 [details]
screenshot showing how visual studio 2005 handles the mouseon hover