From a code review of the 0.2.x work.
register_plugin.py parses and re-serializes the whole doublecmd.xml with ElementTree to insert the plugin entry. That normalizes formatting across the entire file (attribute quoting/order, whitespace) and drops any comments/CDATA. It works and we back up first, but it's more invasive than needed.
Options: a targeted text insertion of the <WlxPlugin> block, or registering via DC's GUI. Low severity (DC re-reads the normalized file fine), but worth tightening.
From a code review of the 0.2.x work.
register_plugin.pyparses and re-serializes the wholedoublecmd.xmlwith ElementTree to insert the plugin entry. That normalizes formatting across the entire file (attribute quoting/order, whitespace) and drops any comments/CDATA. It works and we back up first, but it's more invasive than needed.Options: a targeted text insertion of the
<WlxPlugin>block, or registering via DC's GUI. Low severity (DC re-reads the normalized file fine), but worth tightening.