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

{} positioning

1 Answer 34 Views
Refactorings
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
MiddleTommy
Top achievements
Rank 1
MiddleTommy asked on 14 Aug 2010, 08:50 AM
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)

1 Answer, 1 is accepted

Sort by
0
Ivo Bratoev
Telerik team
answered on 19 Aug 2010, 09:37 AM
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
Tags
Refactorings
Asked by
MiddleTommy
Top achievements
Rank 1
Answers by
Ivo Bratoev
Telerik team
Share this question
or