11-19-2014 3:27 PM
Hello,
I'm playing around alot with the new type-inferred DATA-declarations like
DATA(svc_mng) = /bobf/cl_tra_serv_mgr_factory=>get_service_manager( zif_xxx_c=>sc_bo_key ).
Is there any way in the ADT to actually see the inferred type via hovering over the variable or pressing any shortcut?
The quick type hierarchy does not seem to be available
My current workaround is to use CTRL+Space to force auto-complete display me the type, so at least that type information is directly available in the ADT... could you please show the types everywhere when hovering over variables?
Possibly in the status-bar or something, that would be truly great.
Keep up the good work!
Cheers,
Kai
11-19-2014 4:40 PM
Hi Kai,
Did you try to use code element info (F2) for the method call? It shows the same information as in code completion.
Michael
11-19-2014 4:40 PM
Hi Kai,
Did you try to use code element info (F2) for the method call? It shows the same information as in code completion.
Michael
11-19-2014 5:39 PM
Thanks, that is working fine.
Could you think about displaying this information constantly in the statusbar or when hovering over the element in a small unobtrusive (but text-selectable-and-copyable) fashion?
11-20-2014 9:58 AM
Hi Kai,
You could see this information also in a view. Just click on the button Show in ABAP Element Info View in the popup:
If you enable the button Link with Selection the element info will update whenever you select another element.
Michael
11-20-2014 10:00 AM
very nice, thanks alot!
If one could undock this view and make it minimalistically floating, that would be great.
11-21-2014 7:55 AM
I am not sure whether I understood your question
All views in Eclipse can be undocked by dragging them outside Eclipse's window. I have just learned they will be shown in front of Eclipse's window.
In the particular case of the element info, I would prefer just to move to another place the view and reduce its size. E.g., ABAP Element Info view at the top of the editor:
11-24-2014 10:06 AM
That's what I am currently using, it's just that a constant designated area in the Statusbar or somewhere else would be more lightweight & integrated nicety.