Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Visual Assist
 Technical Support
 Closing brace after a blank line is not working

You must be registered to post a reply.
Click here to register.

Screensize:
UserName:
Password:
Format: BoldItalicizeUnderlineStrikethrough Align leftCenterAlign right Insert horizontal ruleUpload and insert imageInsert hyperlinkInsert email addressInsert codeInsert quoted textInsert listInsert Emoji
   
Message:

Forum code is on.
Html is off.

 
Check to subscribe to this topic.
   

T O P I C    R E V I E W
mikhail.matrosov Posted - Nov 15 2014 : 4:41:02 PM
I have enabled option "Corrections -> Insert () and closing } ) ]" and option "Closing brace is inserted:" is set to "after a blank line". However, when I type open brace, closing brace is placed on the same line, just after the cursor.

I have Visual Studio 2013 Ultimate Update 4, VA_X.dll version 10.9.2048.0 built 2014.09.22.

Here are my VS settings: https://www.dropbox.com/s/uiufw2ukn237fd1/Exported-2014-11-16.vssettings?dl=0
And here are my VAX settings: https://www.dropbox.com/s/kpartkdmdnmgszx/20141116014005.reg?dl=0
2   L A T E S T    R E P L I E S    (Newest First)
mikhail.matrosov Posted - Nov 21 2014 : 3:23:33 PM
Works like a charm! Thanks!
feline Posted - Nov 21 2014 : 12:57:47 PM
Thank you for the settings, this always makes things easier to check out. In this case, the IDE is inserting the closing bracket, not VA, which is why the VA option has no effect. To return to VA inserting the closing } simply turn off:

IDE tools menu -> Options -> Text Editor -> C/C++ -> General -> Automatic brace completion

and now VA will be able to step in and insert the bracket with the formatting you want.

© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000