VSCode auto formatting in C++ programs produces this code by aligning consecutive comments:
if (true) { // if begin
// if inner part
int x = 3;
int a = 1; // some inner calculations
} // if end
// some outer calculations
int b = 1;
How can I forbid comment alignment to get the code bellow?
if (true) { // if begin
// if inner part
int x = 3;
int a = 1; // some inner calculations
}// if end
// some outer calculations
int b = 1;
I can only prevent it by adding empty lines.