New document type ?
Are you missing a feature? Request its implementation here.
-
- Posts: 21
- Joined: Wed Dec 16, 2009 2:53 pm
New document type ?
Post by jpmoularde »
Is there a way to define myself a new type of document?
I'm a user of a programming language which requires the support of UFT-8 characters. If I use oXygen's "text" document type, I should declare that all "text" documents should be in UTF-8, which is not what I want.
Moreover, I would be pleased to have a way of defining the syntax of that language, so I can make sure, for instance, that all parentheses are correctly closed, keywords well spelled and so on before submitting the program to compilation.
Of course the language has its own text editor, but I don't like it, and I would prefer using oXygen as my favourite editor for all possible tasks.
I'm a user of a programming language which requires the support of UFT-8 characters. If I use oXygen's "text" document type, I should declare that all "text" documents should be in UTF-8, which is not what I want.
Moreover, I would be pleased to have a way of defining the syntax of that language, so I can make sure, for instance, that all parentheses are correctly closed, keywords well spelled and so on before submitting the program to compilation.
Of course the language has its own text editor, but I don't like it, and I would prefer using oXygen as my favourite editor for all possible tasks.
-
- Posts: 2879
- Joined: Tue May 17, 2005 4:01 pm
Re: New document type ?
Hello,
As a parenthesis, note that Oxygen refers to "document type" as a type of XML document. A "document type association" in Oxygen is a framework for XML documents of that type.
So, what you want is to configure a non-XML document/file type.
Unfortunately, currently you can only choose the editor that is used for opening a file of a certain extension(Options > Preferences, File Types),
Also, as you've observed, you can only set one encoding for all non-XML files(Options > Preferences, Encoding, Encoding for non XML files), there is no setting for each individual file type.
We plan to offer an encoding setting in the File Types section of the options, but this is scheduled in the long term.
I have added your request to our issue tracking tool.
For file checking, if you have a command line syntax checker, one possible solution would be to configure it in Oxygen as an external tool to be used on the currently edited file.
BTW, what programming language is this?
Regards,
Adrian
As a parenthesis, note that Oxygen refers to "document type" as a type of XML document. A "document type association" in Oxygen is a framework for XML documents of that type.
So, what you want is to configure a non-XML document/file type.
Unfortunately, currently you can only choose the editor that is used for opening a file of a certain extension(Options > Preferences, File Types),
Also, as you've observed, you can only set one encoding for all non-XML files(Options > Preferences, Encoding, Encoding for non XML files), there is no setting for each individual file type.
We plan to offer an encoding setting in the File Types section of the options, but this is scheduled in the long term.
I have added your request to our issue tracking tool.
Unfortunately, syntax highlight for new types of files is not configurable in Oxygen and I don't see this changing in the foreseeable future.Moreover, I would be pleased to have a way of defining the syntax of that language, so I can make sure, for instance, that all parentheses are correctly closed, keywords well spelled and so on before submitting the program to compilation.
For file checking, if you have a command line syntax checker, one possible solution would be to configure it in Oxygen as an external tool to be used on the currently edited file.
BTW, what programming language is this?
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