Skip to content

register_plugin.py rewrites the entire doublecmd.xml #9

Description

@NikolaiSachok

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestmarkdown-wlxThe Markdown lister plugin

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions