Disable content completion in Attributes view

<oXygen/> general issues.
Posts: 20

Disable content completion in Attributes view

Thu Mar 09, 2017 3:35 pm


I want to disable content completion in the Attributes view, because this often leads to mistakes in our project.

I know about the content completion preferences [1], but they do not seem to have any effect on the Attributes view.
I also know about this doc page [2], but there is no mention on how to disable content completion.

[1] https://www.oxygenxml.com/doc/versions/ ... etion.html
[2] https://www.oxygenxml.com/doc/versions/ ... anels.html
Posts: 5753

Re: Disable content completion in Attributes view

Thu Mar 09, 2017 3:56 pm


Just to see if I understand, you have an attribute (probably a profiling attribute) which can take multiple values and you want the attribute to be edited without Oxygen proposing in the combo box single value choices for it, right?
If not, could you elaborate? Do you want the attribute to be shown as completely read-only? What version of Oxygen are you using?
In the Oxygen DITA framework configuration folder there is a content completion configuration XML file:


You can probably add in it something like:

Code: Select all

    <match attributeName="audience">
        <items action="replace"/>

in order to say that you want for the attribute named @audience no values and you want this setting to replace the existing values.

More about the cc_config.xml:


Radu Coravu
<oXygen/> XML Editor
Posts: 20

Re: Disable content completion in Attributes view

Fri Mar 10, 2017 2:02 pm

Hi Radu,

thank you. You understood correctly, and creating a cc_config.xml has solved my problem. It's even better that I can switch off suggestions per attribute name instead of globally.

Return to “Other Issues”

Who is online

Users browsing this forum: No registered users and 1 guest