This is a migrated thread and some comments may be shown as answers.

Surround with {...} has issues

1 Answer 33 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
abdu bukres
Top achievements
Rank 1
abdu bukres asked on 22 Feb 2013, 01:16 AM
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();
        }          



1 Answer, 1 is accepted

Sort by
0
Zdravko
Telerik team
answered on 26 Feb 2013, 05:04 PM
Hello,

 Thanks for reporting the issue you have encountered.
I made an item for it in our product backlog and we will investigate and fix it as soon as possible.
Thank you.

Kind regards,
Zdravko
the Telerik team
Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
Tags
General Discussions
Asked by
abdu bukres
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
Share this question
or