Surround with {...} has issues

2 posts, 0 answers
  1. abdu bukres
    abdu bukres avatar
    76 posts
    Member since:
    Mar 2004

    Posted 21 Feb 2013 Link to this post

    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("")
                          string  menuCode = "hello";

  2. Zdravko
    Zdravko avatar
    657 posts

    Posted 26 Feb 2013 Link to this post


     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,
    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.
  3. DevCraft banner
Back to Top