Probably not to new users who are the ones fiddling with conf files, using # for a comment is "well known", but whats this #~ thing? And do I leave the ~ or what? Have had all those during various support interactions.

This is definitely a good reason to use just the simple # then.

its not clear from the G* docs for keyfile (can you see where the file format is described?) if space at the start of the setting line is ok or not, so not having a space on lines which are settings is best, so only the comment marker is removed.

It seems to be somewhat documented here

https://gitlab.gnome.org/GNOME/glib/-/blob/main/glib/gkeyfile.c#L76

but I'm not sure if keys can start with spaces. I used the isspace() check skipping spaces to be on the safe side.


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <geany/geany/pull/3413/c1445204179@github.com>