Whole Tomato Software Forums
Main Site
|
Profile
|
Register
|
Active Topics
|
Members
|
Search
|
FAQ
All Forums
Visual Assist
Technical Support
Identation error in switch-case
You must be registered to post a reply.
Click
here
to register.
Screensize:
640 x 480
800 x 600
1024 x 768
1280 x 1024
UserName:
Password:
Format:
Font
Andale Mono
Arial
Arial Black
Book Antiqua
Century Gothic
Comic Sans MS
Courier New
Georgia
Impact
Lucida Console
Script MT Bold
Stencil
Tahoma
Times New Roman
Trebuchet MS
Verdana
Size
1
2
3
4
5
6
Color
Black
Blue
Brown
Green
Red
Violet
Yellow
Message:
Forum code
is on.
Html is off.
[quote][i]Originally posted by it@kerdos[/i] [br]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. [img]https://forum.wholetomato.com/forum/uploaded/it@kerdos/201422132247_example_switch.png[/img] How can I fix that? Regards, Thomas [/quote]
Check to include your profile signature.
Check to subscribe to this topic.
T O P I C R E V I E W
it@kerdos
Posted - Feb 21 2014 : 03:24:50 AM
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
1 L A T E S T R E P L I E S (Newest First)
feline
Posted - Feb 25 2014 : 11:22:34 PM
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.
© 2023 Whole Tomato Software, LLC
Snitz Forums 2000