Current filter:
                                You should refresh the page.
                                  • Selection expansion works strange, when I try select expand #Region
                                    And there are Sub starting with comment lines

                                    see screencast https://www.screencast.com/t/Oklu2a0cMw

                                    Code example:

                                    [VB.NET]
                                    Public Class Form1 #Region "Oper" Private Sub btnOper_Click(sender As System.Object, e As System.EventArgs) 'Beep() 'load DoSomething() End Sub #End Region #Region "Customer" Private Sub btnCustomer_Click(sender As System.Object, e As System.EventArgs) 'load DoSomething() End Sub #End Region Private Function MethodName() As Boolean End Function End Class
                                • Andrew A (DevExpress) 03.28.2018

                                  Hi Robert,

                                  Thank you for your report. I have reproduced this issue locally. We will fix it in our future builds.

                                1 Solution

                                Creation Date Importance Sort by

                                Fixed:

                                Show all comments
                                • Robert Schlesinger 04.17.2018

                                  There is still bug in expansion in 17.2.8
                                  It selects region right above the region it should select :(

                                  see https://www.screencast.com/t/k0TnweCID

                                • Alex Z (DevExpress) 04.17.2018

                                  Robert,

                                  I have reproduced this. I agree that in this case, the expand selection feature should select all methods inside the active class.
                                  Please give us some time to fix this.

                                • Robert Schlesinger 04.17.2018

                                  I pointed what is shown in screencast from 0:12
                                  Next expansion should select  "Customer" region, but "Oper" region was selected instead.

                                • Robert Schlesinger 04.17.2018

                                  And also expansion doesn't work at all when carret is on EventHandler name or "EventArgs" keyword
                                  see: https://www.screencast.com/t/omZLNbiHN

                                • Alex Z (DevExpress) 04.18.2018

                                  Robert,

                                  Thank you for the additional information. We will also consider it when fixing this issue.

                                • Alex Z (DevExpress) 04.20.2018

                                  Robert,

                                  We have prepared a build that contains fixes for your issues: DevExpress.CodeRush.Roslyn-17.2.8.18110.vsix. Please install it and let us know if there are cases when the Selection Expand feature works incorrectly on your side.

                                • Robert Schlesinger 04.20.2018

                                  Hi Alex,
                                  selection expand is still strange.
                                  I attached sample app.
                                  Try expand when having carret at the end of lines e.g.:
                                  13 - strange second expand
                                  14 - second expand should select region Customer, but instead almost all lines in class are selected except #End Region
                                  20 - third expand select almost all lines except #End Region
                                  26 - third expand should select SUB, but this selection is skipped and region "x" is selected

                                  I use latest VS2017 build 15.6.6

                                  https://www.screencast.com/t/Wgl6PGflVc

                                • Alexander K (DevExpress) 04.23.2018

                                  Hi Robert,

                                  Thank you for providing the sample project and the screencast. I have reproduced these issues with the Selection Expand feature. We are working on them and will notify you of our progress in the context of this ticket.

                                • Alexander K (DevExpress) 04.26.2018

                                  Hi Robert,

                                  We have prepared a new build with fixes for issues from your last post: DevExpress.CodeRush.Roslyn-17.2.8.18116.vsix. Please download it and let us know your results.

                                • Robert Schlesinger 04.26.2018

                                  Hi,
                                  it is better anyway I found still some problems, for example when trying to expand lines 8, 42, 74

                                  https://www.screencast.com/t/8vhYIAeoO

                                • Alexander K (DevExpress) 04.26.2018

                                  Thank you for informing us of your results and providing the sample project. We are working on the remaining issues.

                                • Alexander K (DevExpress) 05.04.2018

                                  Hi Robert,

                                  Please install the following build and let us know your results: DevExpress.CodeRush.Roslyn-17.2.8.18124.vsix.

                                • Robert Schlesinger 05.05.2018

                                  Hi,
                                  checked and 99.99% works fine as expected, thanks :)

                                  When expanding selection from line 74 (inside nested Region '"Sub2" inside parent Region "Parent") I would expect expand step also to parent region. I checked CR Classic and it doesn't expend to parent regions as well, means tiny issue.
                                  https://www.screencast.com/t/yUvYAbjKmc6I

                                • Alexander K (DevExpress) 05.07.2018

                                  Hi,

                                  Thank you for informing us of your results and providing the screencast. We agree that expanding to a parent region would be more expected in this case. We will correct it and notify you on our progress.

                                • Alexander K (DevExpress) 05.15.2018

                                  Hi Robert,

                                  We have corrected selection expanding in the case when a parent region exists and prepared a build with this fix: DevExpress.CodeRush.Roslyn-17.2.8.18135.vsix. Please install it and let us know of your results.

                                • Robert Schlesinger 05.15.2018

                                  Works!
                                  Thanks

                                • Alexander K (DevExpress) 05.15.2018

                                  You are welcome.

                                • Robert Schlesinger 07.21.2018

                                  Expand selection selects comment line above. This need to be fixed.

                                  [VB.NET]
                                  Private Sub xcv() 'comment Using adapter As New something() End Using End Sub

                                  https://www.screencast.com/t/3dAmCOUdV

                                • Alexander K (DevExpress) 07.23.2018

                                  Hi Robert,

                                  Thank you for providing the code sample and screencast. I have reproduced this issue and we are working on it.

                                • Alexander K (DevExpress) 07.23.2018

                                  We have corrected expanding the selection in your code sample and prepared a build with this fix: DevExpress.CodeRush.Roslyn-18.1.7.18204.vsix.