This question is locked. New answers and comments are not allowed.
I had the code like below. I highlighted the last two lines, alt-end, chose Surround with {...}. JustCode inserted the curly braces starting from the if statement, which is not what I wanted. Using JustCode 2013.1.219.5 in VS 2010.
if
(Page.IsCallback)
{
if
(some condition)
throw
new
Exception(
""
)
else
string
menuCode =
"hello"
;
SomeMethod();
}