Would be very nice to have feature, like in Java debugger. Either variable under
the cursor or selected expression.
Don't know yet how to get expression (selection and/or token) under the cursor.
If there is already some API somewhere in Ruby/Retouche modules, please let me
This is implemented in Java by registering a special tool tip annotation class in the debuggerjpda
However, I'd like to support tooltips in the editor too (showing the declaration comment, if any, for the
symbol under the mouse) so we may have to do some coordination here such that the debugger tooltip
wins when there is an active debugging session, and the editing tooltip is shown at other times.
I see. I thought it has to be somehow supported by underlying lexer. Seems like
direct Editor feature. Thanks for the pointer.
First working version. Base on Java and Ant debuggers. Let's file bugs separately.
Checking in debugger/src/org/netbeans/modules/ruby/debugger/ToolTipAnnotation.java;
initial revision: 1.1
Checking in debugger/src/org/netbeans/modules/ruby/debugger/resource/layer.xml;
new revision: 1.2; previous revision: 1.1
Reassigning this issue to newly created 'ruby' component.
Changing target milestone of all resolved Ruby issues from TBD to 6.0 Beta 1 build.