Quantcast
Channel: Jobs
Viewing all articles
Browse latest Browse all 18427

QtCreator indent

$
0
0
Hi, is it possible to indent code in QtCreator from this: if(flag==6){ bufferIndex+=5; } to code with spaces before and after keyword and operators? if ( flag == 6 ) {     bufferIndex += 5; } After indent ( ctrl + I ) I get only aligment of 2.line and result is lik this: if(flag==6){       bufferIndex+=5; } I have found it is possible to change CodeStyle in projects but don’t know how to add this spaces.

Viewing all articles
Browse latest Browse all 18427

Trending Articles