Enabling/disabling plugins

Hi, While working on plugins, I miss the ability to be able to enabling or disabling specific plugins. I maybe missed something, but as far as I see, once a plugin is installed in oXygen plugins dir, the only way to disable it is to delete the plugin dir. This is a bit radical. If there is no such possibility, it would probably be worth adding a flag in the Plugins section in the config panel. The ideal would be to not need a restart, but having to restart is not cricial for the final user. Although using the config panel is convenient, being able to enable/ disable a plugin in its plugin.xml would be ok I guess (e.g. by adding a new boolean attribute /plugin/@enabled). Regards, -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/

Hi Florent, An undocumented feature that we have is that if in your plugin's directory you create a "plugin.disable" file (content is not important, can be empty) then that particular plugin will not be loaded by Oxygen. We'll try to add some documentation for it and maybe in a future version also provide a more elegant way via the Preferences dialog of disabling plugins. In either way, Oxygen will need to be restarted after the enabled state of a plugin changes. Regards, Radu Radu Coravu <oXygen/> XML Editor, Schema Editor and XSLT Editor/Debugger http://www.oxygenxml.com On 2/18/2012 2:05 AM, Florent Georges wrote:
Hi,
While working on plugins, I miss the ability to be able to enabling or disabling specific plugins. I maybe missed something, but as far as I see, once a plugin is installed in oXygen plugins dir, the only way to disable it is to delete the plugin dir. This is a bit radical.
If there is no such possibility, it would probably be worth adding a flag in the Plugins section in the config panel. The ideal would be to not need a restart, but having to restart is not cricial for the final user.
Although using the config panel is convenient, being able to enable/ disable a plugin in its plugin.xml would be ok I guess (e.g. by adding a new boolean attribute /plugin/@enabled).
Regards,

Oxygen XML Editor Support wrote:
An undocumented feature that we have is that if in your plugin's directory you create a "plugin.disable" file (content is not important, can be empty) then that particular plugin will not be loaded by Oxygen.
Works for me. Thanks! -- Florent Georges http://fgeorges.org/ http://h2oconsulting.be/
participants (2)
-
Florent Georges
-
Oxygen XML Editor Support