You must be registered to post a reply. Click here to register.
T O P I C R E V I E W
jolly_x
Posted - Mar 02 2012 : 08:42:32 AM It would be useful if the following indentation will be somehow highlighted (c/c++ example): -------- if (condition) statement1; statement2; statement3; --------
note the missing braces. One can be easily confused that statement2 is conditioned.
2 L A T E S T R E P L I E S (Newest First)
feline
Posted - Mar 02 2012 : 11:07:43 AM Code indenting style is a very personal thing, and not something we plan to get involved with in detail.
For situations like this, you could select the entire file and use the IDE command:
IDE Edit menu -> Advanced -> Format Selection
which will apply the IDE's code formatting to the file, and will correct this indenting.
jolly_x
Posted - Mar 02 2012 : 08:45:16 AM
if (condition)
statement1;
statement2;
statement3;