Current filter:
                                You should refresh the page.
                                  • I have set the braces for statement to wrap open and close brace, and also to wrap before.

                                    this is how it SHOULD look:

                                    [C#]
                                    namespace Namespace1 { internal class Class1 { public bool test() { var a = true; var b = true; var c = true; var r = false; if (a) { r = true; } else if (b) { r = true; } else if (c) { r = true; } else { r = false; } return r; } } }

                                    However with the option turned ON it looks like this after formatting:

                                    [C#]
                                    namespace Namespace1 { internal class Class1 { public bool test() { var a = true; var b = true; var c = true; var r = false; if (a) { r = true; } else if (b) { r = true; } else if (c) { r = true; } else { r = false; } return r; } } }

                                    Notice the B & C options below the braces are tabbed in rather than flushed with the else.

                                • Alex Eg (DevExpress) 10.17.2017

                                  Hi Alan,
                                  Thank you for the code sample. I have reproduced the issue and we are working on it.

                                1 Solution

                                Creation Date Importance Sort by

                                Fixed: