Current filter:
                                You should refresh the page.
                                  • Expected behaviour when expanding if template

                                    [C#]
                                    if (|) var foo = 1; // <<< line below is not modified

                                    Actual behaviour:

                                    [C#]
                                    if (|) var foo = 1; // <<< line below has been indented :-(

                                    Very annoying :-)

                                • Pavel A (DevExpress) 03.18.2016

                                  Hi Duncan,

                                  We have an option that suppresses formating after the template is expanded.
                                  You can enable it on the "Editor\Templates" options page for the 'if' template.
                                  But, I have found that this option works in CodeRush Classic and does not work in CodeRush for Roslyn.
                                  I have passed this ticket to our developers for research.
                                  We will notify you when we have any results.

                                1 Solution

                                Creation Date Importance Sort by

                                Fixed:

                                We have fixed this problem and will include it in an upcoming release. The final release date has not been set, but once it is published we will send you an automatic notification.