This might be me being an idiot, but why would the the vscode extention insist on formatting this code block as it is?
The structs defined above and below are formatted correctly.
This might be me being an idiot, but why would the the vscode extention insist on formatting this code block as it is?
The structs defined above and below are formatted correctly.
I’ve had that too, couldn’t work out why!
For whomever is debugging this…
Is this the default indentation when writing code or when actual formatting takes place?
It is when the formatting takes place
Ok. We will switch to a different formatter very soon, which should fix this issue (and a bunch more). I’d recommend not using the integrated formatter for now.