I'm coding in Dart, using Visual Studio Code. If I write a comment after a { on the same line, VSC moves it to the beginning of the next line. I want it on the same line to keep my code more condensed.
So, for instance, I want to write
if( ) { // when the email is not yet known ...
But this gets reformatted as:
if( ) {
// when the email is not yet known ...
I found a similar question in 2019 (unanswered), and suggestions to turn off formatting -- but I want formatting 99.9% of the time, I just want this behavior deactivated.
So can a Dart or VSC expert out there please tell me what I need to do to fix this? I'd be most grateful ...