visual studio code - How to make new line be automatically indented when programming with c++ in vscode -
as title shows, don't know how make new line automatically indented when use statement of "if...else","for "or"while". example, default ,it this.
if(flag==true) cout<<...; else cout<<...;
but want make this.
if(flag==true) cout<<....; else cout<<....;
and know "{}" can make it, when writing statement, there no need use"{}". giving advice.
Comments
Post a Comment