Page 1 of 1

XML custom views

Posted: Wed May 16, 2018 1:46 pm
by bwbohl
Hi,

I quite new to all the Add-On, framework and plugin option oxygen offers, and already now I can tell, it's great!

Now I'm wondering how I could implement a custom view for a specific XML namespace, that is comparable to how Markdown files are presented in oXygen, i.e. with the code on the left side and different "transformed" results on the right hand side?

Any help considering first steps would be appreciated!

Thanks,
Benjamin

Re: XML custom views

Posted: Wed May 16, 2018 2:17 pm
by Radu
Hi Benjamin,

We do not have API to allow you to add a custom view in the editor area.
You do have API to add a custom side view (east, west, south or north):

https://www.oxygenxml.com/doc/versions/ ... -view.html

and based on the current selected XML file tab you could disable or enable the view or populate the view's contents to reflect the XML content, so you can implement something similar to our "Outline" view but not something similar to our Markdown Preview which is placed directly in the edited content area.

Regards,
Radu