Using Visual Studio 2005 SP1 and Visual Assist X 10.3.1555.0, with the "Insert () and closing })]'" option turned on, start a new project and solution, create an empty .cpp file and paste in the following code:
int SomeFunction()
{
if (x)
return 1;
}
With the cursor immediately under the x, enter a left brace {. I expect to get an opening and closing brace, but instead I just get a single opening brace. On the other hand, if there are two blank lines below the if statement, then it does give me both the opening and closing brace.
Is this a bug, or I am misunderstanding how this is supposed to work?