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
 Technical Support
 Identation error in switch-case
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

it@kerdos
Starting Member

1 Posts

Posted - Feb 21 2014 :  03:24:50 AM  Show Profile  Reply with Quote
I am using VS Studio c++ 2013 with Visual Assist Add-In.

When I put bracktes around the block between case ... : and break, the content will be indented far too much.

Please check this screenshot for an example.



How can I fix that?

Regards,
Thomas

feline
Whole Tomato Software

United Kingdom
18755 Posts

Posted - Feb 25 2014 :  11:22:34 PM  Show Profile  Reply with Quote
Unfortunately this formatting is coming from the IDE, its nothing to do with VA.

The first step will be to have a look in:

IDE Tools menu -> Options -> Text Editor -> C/C++ -> Formatting -> Indentation

VS2013 has added more options to control the IDE formatting, so hopefully one of these settings will help.

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