Secondary cc_Config.xml file

kmank
Posts: 108
Joined: Mon Apr 19, 2010 5:33 pm

Secondary cc_Config.xml file

Post by kmank » Fri Aug 14, 2020 10:26 pm

I am wondering if there is a way to use a secondary Content Completion (cc_config.xml) file. I am needing to distribute customizations to our team and cannot simply overwrite the file in the installed framework folder.
Is there a setting in Options that allows for this?

Radu
Posts: 7150
Joined: Fri Jul 09, 2004 5:18 pm

Re: Secondary cc_Config.xml file

Post by Radu » Mon Aug 17, 2020 7:27 am

Hi,

Currently you can override an entire cc_config.xml in a framework extension.
If your framework extension folder has a "resources" subfolder with the custom "cc_config.xml" inside, you can edit your framework extension in the Preferences->"Document Type Association" page and in the "Classpath" list add a reference to the "${framework}/resources/" folder making that reference to be the first in the list, so that it becomes more important than the reference to the "${baseFramework/resources/}" folder.

For Oxygen 23 (Autumn this year) we already worked on allowing a file named "cc_config_ext.xml" to contribute a content completion extension, to contribute extra rules to the base "cc_config.xml" eliminating the need to copy the entire "cc_config.xml" from the base to the extension framework.

Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com

kmank
Posts: 108
Joined: Mon Apr 19, 2010 5:33 pm

Re: Secondary cc_Config.xml file

Post by kmank » Mon Aug 17, 2020 9:15 pm

Thanks, Radu -very helpful! And I look forward to Oxygen 23

Post Reply