Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Feature Requests
 suspicious indentation warning
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jolly_x
New Member

2 Posts

Posted - Mar 02 2012 :  08:42:32 AM  Show Profile  Reply with Quote
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.


jolly_x
New Member

2 Posts

Posted - Mar 02 2012 :  08:45:16 AM  Show Profile  Reply with Quote

if (condition)
    statement1;
    statement2;
statement3;
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
19022 Posts

Posted - Mar 02 2012 :  11:07:43 AM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000