Tab Indent and Detect indent on open
Having trouble installing Oxygen? Got a bug to report? Post it all here.
-
- Posts: 3
- Joined: Wed Mar 10, 2010 1:15 pm
Tab Indent and Detect indent on open
Hi,
I'd like to use the "Detect indent on open" formatting option to keep an existing indenting option, and at the same I'd like time that the new files I create to be indented with tabs instead of spaces.
It seems that whenever I create a new file (e.g. with the Eclipse plugin New... > oXygen > XML File and other items) the file uses space-indent by default. I can only force tab-indent if I disable the "detect indent" option.
Is there any way to change the default indent of new files ?
Thanks!
Romain.
I'd like to use the "Detect indent on open" formatting option to keep an existing indenting option, and at the same I'd like time that the new files I create to be indented with tabs instead of spaces.
It seems that whenever I create a new file (e.g. with the Eclipse plugin New... > oXygen > XML File and other items) the file uses space-indent by default. I can only force tab-indent if I disable the "detect indent" option.
Is there any way to change the default indent of new files ?
Thanks!
Romain.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: Tab Indent and Detect indent on open
Hello,
Thank you for reporting this.
This is indeed a bug in the Oxygen Eclipse plugin. The standalone version of Oxygen does work as expected(new files are indented with tabs).
I'm adding this to our bug tracking tool and we will resolve it in a future version of Oxygen.
Meanwhile, one workaround is to create a file that is indented with tabs, something simple that has at least one indent like:
and save it into the templates folder of the oxygen plugin, either:
- eclipse\dropins\com.oxygenxml.editor_11.1.0.*\plugins\com.oxygenxml.editor_11.1.0.*\templates or
- eclipse\plugins\com.oxygenxml.editor_11.1.0.v2010022216\templates.
When you need to create a new XML file indented with tabs you can choose "New From Templates" in the Eclipse "New" wizard and select the file from the Oxygen template list.
Do not hesitate to contact us if you require further information.
Regards,
Adrian
Thank you for reporting this.
This is indeed a bug in the Oxygen Eclipse plugin. The standalone version of Oxygen does work as expected(new files are indented with tabs).
I'm adding this to our bug tracking tool and we will resolve it in a future version of Oxygen.
Meanwhile, one workaround is to create a file that is indented with tabs, something simple that has at least one indent like:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<root>
<child></child>
</root>
- eclipse\dropins\com.oxygenxml.editor_11.1.0.*\plugins\com.oxygenxml.editor_11.1.0.*\templates or
- eclipse\plugins\com.oxygenxml.editor_11.1.0.v2010022216\templates.
When you need to create a new XML file indented with tabs you can choose "New From Templates" in the Eclipse "New" wizard and select the file from the Oxygen template list.
Do not hesitate to contact us if you require further information.
Regards,
Adrian
Adrian Buza
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
<oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service