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
 Closing brace after a blank line is not working
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

mikhail.matrosov
Senior Member

Russia
29 Posts

Posted - Nov 15 2014 :  4:41:02 PM  Show Profile  Reply with Quote
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

Edited by - mikhail.matrosov on Nov 15 2014 4:41:44 PM

feline
Whole Tomato Software

United Kingdom
18750 Posts

Posted - Nov 21 2014 :  12:57:47 PM  Show Profile  Reply with Quote
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.

zen is the art of being at one with the two'ness
Go to Top of Page

mikhail.matrosov
Senior Member

Russia
29 Posts

Posted - Nov 21 2014 :  3:23:33 PM  Show Profile  Reply with Quote
Works like a charm! Thanks!
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