I cant figure out exactly when, but sometimes when I save my preferences file all of my comments are removed and the settings are reordered! Why would this be happening? I try to keep it organized and readable! Any help would be great thanks!
Automatic removal of comments/formatting in preference file?
BugFix
#2
The settings file supports no comments. They will ignored by reading the settings. As long as the settings are not changed, the comments remain.
In the moment that a setting will changed and store back to the settings file happens the following:
- all key-value pairs will sort in alphabetical order
- the pairs (with included sub-pairs and so on) will write back to the settings file
- Your comments will be lost.
A workaround:
Save a copy of the settings file with your comments as “settings.txt”.
0 Likes