Current filter:
                                You should refresh the page.
                                  • I found something really horrible when coding in VB.NET with CodeRush enabled. CodeRush is doing autocomplete on keyword If. If you write "If" and space, CodeRush will create whole If..Then..End If block. In countless places in my code, I am using single line If statement, like:

                                    [VB.NET]
                                    If x <= 5 Then Return x

                                    CodeRush is ruining all these attempts and every time creates full block, which must be manually corrected.
                                    Please remove this functionality or at least give option to disable it.

                                    [VB.NET]
                                    REM CodeRushed: If x <= 5 Then Return x End If
                                • Alexander K (DevExpress) 09.25.2015

                                  Thanks for pointing out this issue. The behavior you described is the result of applying the 'if' CodeRush template. We agree that a single line expansion will be more useful for this template and will correct it in the next update. In the meantime, you can make these changes yourself by performing these steps:

                                  1. From the CodeRush menu, select "Options...".
                                  2. Set the Language combo on the lower-left of the Options dialog to Visual Basic.
                                  3. In the tree view on the left, navigate to the "Editor\Code Templates" folder.
                                  4. Select the "Templates" options page.
                                  5. In the tree view on the left side of this page, select the "Program Blocks\If blocks\if" item.
                                  6. Set the expansion to this value: If «Caret»«Field(Expression)»«BlockAnchor» Then.
                                  7. Click the "OK" button to save changes.

                                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.