Just in case the IDE does something funny based on the default auto-format settings.
You are aware that you can create your own autoformat configuration? See e.g. Clang setup; where is .clang-format.
Post 10 has an example attached as I used it at that time and it formats the brackets in the way you (and I) prefer.
On a Windows system the location for the file is C:\Users\yourUsername\.arduinoIDE.