Excluding code templates from content completion suggestions
Post here questions and problems related to oXygen frameworks/document types.
-
- Posts: 4
- Joined: Wed Mar 03, 2021 6:40 pm
Excluding code templates from content completion suggestions
I have an external content completion file (cc_config_ext.xml) configured as part of a framework extension. The proposed values work as expected. However, I'm also getting code templates listed as part of the proposed values in Author mode. Is it possible to exclude code templates?
code_templates_in_cc_suggestions.png
You do not have the required permissions to view the files attached to this post.
-
- Posts: 9434
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Excluding code templates from content completion suggestions
Hi,
Code templates may contain any content inside them (text, XML tags, or a combination of..), they may contain even editor variables which get expanded when the code template is inserted, so Oxygen proposes them in any context, even when element values need to be inserted.
Maybe you can create equivalent Author actions instead of the code templates. An Author action can also be added to the content completion window and has an activation XPath which can be used to configure in what context it's available.
https://blog.oxygenxml.com/topics/custo ... etion.html
Regards,
Radu
Code templates may contain any content inside them (text, XML tags, or a combination of..), they may contain even editor variables which get expanded when the code template is inserted, so Oxygen proposes them in any context, even when element values need to be inserted.
Maybe you can create equivalent Author actions instead of the code templates. An Author action can also be added to the content completion window and has an activation XPath which can be used to configure in what context it's available.
https://blog.oxygenxml.com/topics/custo ... etion.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Return to “SDK-API, Frameworks - Document Types”
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