Bug 4151 - Value hovering should show type name not only value (1GIYQVJ)
Summary: Value hovering should show type name not only value (1GIYQVJ)
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Claude Knaus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-10-10 23:06 EDT by Erich Gamma CLA
Modified: 2001-11-22 08:22 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Erich Gamma CLA 2001-10-10 23:06:54 EDT
EG (24.08.2001 14:42:59)
	value hovering should show the runtime type in addition to the value

NOTES:
Comment 1 Erich Gamma CLA 2001-11-22 04:07:09 EST
Example

int size -> hover "size = 3"   (could honor asymmetric assign formatting pref)
Object o -> hover "o = java.util.Vector(id=99)
Comment 2 Claude Knaus CLA 2001-11-22 06:27:06 EST
Asymmetric assignment is for assignment only. Since the user is inspecting a
variable, if anything else than "value = 42", it should be "value == 42".
I think " == " is a bit ugly, so I'd stick with " = ".
Comment 3 Erich Gamma CLA 2001-11-22 06:33:41 EST
I could argue that this value was assigned at some point, this isn't code <g>
Interestingly the variables view inside the debugger is using asymmetric 
assignment. Bottom line " = " is fine
Comment 4 Claude Knaus CLA 2001-11-22 08:22:11 EST
fixed > 20011120