Page 1 of 1

Display annotation of element besides tooltip

Posted: Tue Feb 27, 2018 10:02 am
by Patrik
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

Re: Display annotation of element besides tooltip

Posted: Tue Feb 27, 2018 2:57 pm
by Radu
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

Re: Display annotation of element besides tooltip

Posted: Tue Feb 27, 2018 4:04 pm
by Patrik
Great, thanks Radu.