Skip to content

Project Configuration does not preserve comments in platformio.ini #3862

Open
@pfeerick

Description

@pfeerick

Behaviour Change Request

I think this may go in the 'too hard basket' ... but still have to ask ;)

The (fantastic, btw!) project configuration GUI does some... Makes some questionable changes to the platformio.ini configuration file. I shorten the header text on a lot of mine, and also comment my libdeps lines, but by ...

  1. opening the configurator
  2. adding a description
  3. hitting save

... this removes the comments, and re-adds the full header to the file. Also, as noted by another user, it sometimes adds

lib_archive = yes
test_build_project_src = no

on it's own, even though these options haven't been touched.

So is it possible to not change lines if they haven't been modified... i.e. don't strip the comments, and perhaps not make changes to the header.

2019-11-16_16-20 vscode pio configurator

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions