Can ini files contain spaced around the "="?

The question is in the title
Thanks in advance for answering me

yes there can be spaces around the = sign. All of our default themes are written this way.

1 Like

Would there be a way to distinguish between “useful” spaces and spaces added by a formatter ?

Something like a pair of quotes around the value, for example :
COUNTER_TEXT_SEPARATOR = " / "

I know it’s pretty much a non-issue, as I can just put the value, but I noticed some IDEs (like the JetBrains ones) tend to delete any trailing whitespace characters at the end of a line without the dev’s knowledge

Update to myself : for now, there’s a workaround with IntelliJ. All you need to do is add a trailing non breakable space (aka NBSP or " ") instead of a regular space, that way, it won’t be considered as a whitespace (for some reason) and won’t be deleted as a result