Hey @mgcrea, thanks for the suggestion. We will look into this. Currently the Homebridge UI config editor already implements this to automatically fix some syntax issues on save, See Config UI X v4.14.0.
Sounds good and it probably makes sense in a UI, but as a plugin developer I would not want my comments to be stripped out by an auto-fix. My main need is to be able to quickly toggle config lines/blocks using comments.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Most helpful comment
Sounds good and it probably makes sense in a UI, but as a plugin developer I would not want my comments to be stripped out by an auto-fix. My main need is to be able to quickly toggle config lines/blocks using comments.