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.
Summary: | Ability to view class/method/function signature (plus code snippet) on mouseover/hover | ||
---|---|---|---|
Product: | editor | Reporter: | markeb <markeb> |
Component: | Completion & Templates | Assignee: | Dusan Balek <dbalek> |
Status: | REOPENED --- | ||
Severity: | blocker | ||
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
markeb
2009-07-24 01:32:07 UTC
NOTE: The terminology I am using pertains to PHP. Let me clarify Eclipse's behavior (which I happen to like), although NetBeans doesn't necessarily have to operate the same way: Mouse hover (no keys held down): - Simply hovering on a method/function with the cursor pops the method signature w/ documentation. - Hovering on a variable displays its location. Ctrl+Hover: - Ctrl+Hover on a method/function will display the code of that method/function in a small layer that pops up. You can press F2 to give "focus" to that layer, which will allow you to scroll horizontally and vertically. - Ctrl+Hover on a variable will display the line of code (minus the semicolon) that first assigned a value to that variable in its scope (the line where the variable was defined). Ctrl+Click: - Ctrl+Click on a method/function will jump to the method/function definition (popping a new editor if necessary). - Ctrl+Click on a variable will jump to the variable definition/original assignment (popping a new editor if necessary). I would imagine constants would be addressed similarly to variables. Note on Behaviors Above as Pertaining to Classes: Eclipse will perform all of the same actions above as with methods, except the method is the class's constructor. Couldn't agree more. That's the first thing most users complain when switching from the Eclipse. You have my vote. I have been using Eclipse for a long time and this feature is one of the few things that Netbeans is lacking that keeps me from switching completely away from Eclipse. This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss It is related to these tickets: https://netbeans.org/bugzilla/show_bug.cgi?id=267375 and https://netbeans.org/bugzilla/show_bug.cgi?id=269946 How do I +1 this? I would have hoped this was a quick feature to add and oh so worthwhile. |