{} positioning

2 posts, 0 answers
  1. MiddleTommy
    MiddleTommy avatar
    163 posts
    Member since:
    Nov 2009

    Posted 14 Aug 2010 Link to this post

    I have my curly brace settings to be put on a new line. like so
    if(boolval)
    {
        //do something
    }

    but when you type
    if(boolvalue){
    the auto ending curly brace is entered for you. then when you press enter it shows up like this
    if(boolvalue){
    }

    It should according to my settings move the curly brace to the next line. and it does after you type in a line of code;
    but here is where the bug is. if you then type a line ending with a semi colon ; you then get the curly brace moved down a line and at column 1

    like this
                if(boolvalue)
    {
                       console.writeline("this looks weird");
                }

    a bug fix would be great (I just downloaded the latest nightly)
  2. Ivo Bratoev
    Admin
    Ivo Bratoev avatar
    107 posts

    Posted 19 Aug 2010 Link to this post

    Hi TWT,

    Thanks for your feedback. I added a PITS issue this bug. We will probably not be able to include it for the Service Pack, but it will be fixed for Q3 and most probably in an earlier internal build. You can track bug's progress in PITS.
    Your help improving the product is much appreciated so I added 800 Telerik points to your account,

    Kind regards,
    Ivo Bratoev
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. DevCraft banner
Back to Top