Mình đang dùng loại đoạn setting sau để format code C/C++ trong visual studio code.
{ BasedOnStyle: Google, IndentWidth: 4, ColumnLimit: 80, BreakBeforeBraces: Linux, AllowShortIfStatementsOnASingleLine: false, AllowShortLoopsOnASingleLine: false, }
Tuy nhiên có phần này mình không vừa í lắm:
while(variable == 0);
Sau khi auto format, nó trở thành:
while(variable == 0)
;
Bác nào biết cách setting vụ này giúp mình với. Mình Cảm ơn