Display annotation of element besides tooltip

Having trouble installing <oXygen/>? Got a bug to report? Post it all here.
Patrik
Posts: 236
Joined: Thu Nov 28, 2013 9:32 am
Location: Hamburg/Germany
Contact:

Display annotation of element besides tooltip

Post by Patrik » Tue Feb 27, 2018 10:02 am

Hi,

I have added several annotations to my (generated) XSD to help the author when editing the XML in text mode. Is there any other way to display the annotation beside the tooltip that appears when hovering with the mouse and wait a little?

My issues with this behavior are:
  • You have to use the mouse alshouth when working in text mode usually the keyboard is sufficient.
  • When there is a validation error on the current element this error will be displayed instead of the annotation. Which is a pity since the annotation contains the information how to avoid this error.
What I would hope for is
  • either any shortcut to display the information as popup
  • or a view (like the attributes view) that displays the information for the current element.
Does there already exist something like this?

Thanks and regards,
Patrik

Radu
Posts: 6642
Joined: Fri Jul 09, 2004 5:18 pm

Re: Display annotation of element besides tooltip

Post by Radu » Tue Feb 27, 2018 2:57 pm

Hi Patrik,

So:
either any shortcut to display the information as popup
Pressing F2 in the Author editing area should show the equivalent of the tooltip information. Meaning also that if you have an error there will present the error message because we consider errors to be more important.
or a view (like the attributes view) that displays the information for the current element.
The "Model" view already does that. Or you can create your own Oxygen Java-based plugin which contributes a custom view...

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

Patrik
Posts: 236
Joined: Thu Nov 28, 2013 9:32 am
Location: Hamburg/Germany
Contact:

Re: Display annotation of element besides tooltip

Post by Patrik » Tue Feb 27, 2018 4:04 pm

Great, thanks Radu.

Post Reply