Project Configuration does not preserve comments in `platformio.ini`
See original GitHub issueBehaviour 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 …
- opening the configurator
- adding a description
- 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.
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (9 by maintainers)
Top Results From Across the Web
Project Configuration does not preserve comments in ... - GitHub
Makes some questionable changes to the platformio.ini configuration file. I shorten the header text on a lot of mine, and also comment my ......
Read more >“platformio.ini” (Project Configuration File)
ini is a configuration file that lets you set up your development environment, share your code and configurations with others, and leverage a...
Read more >🔥 PlatformIO Home 3.1 Beta and Project Configuration UI for ...
All comments in platformio.ini are lost; instead the standard header is inserted. The UI doesn't not synchronize with the platformio.ini ...
Read more >PlatformIO Home 3.1 Beta and Project Configuration UI for ...
Since the project configurator also does not support multiple files, getting rid of comments does not help in keeping the ini files a...
Read more >Platformio.ini with env:custom_table builds twice?
Now I am confronting a problem I seem not to be able to solve on my ... if I would comment out the...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Sorry, now I understand. You can use custom fields in environment sections. Just add
custom_
prefix. For example,custom_env_comment = Simple MCVE environment
.Nope, that’s also not what I meant. See these added (not existing) parameters:
Just to make sure it is not about formatting, I removed the spaces 😉