Bug Report T443828
Visible to All Users

Organize Members - 'Remove existing line breaks' option doesn't work in some cases

created 8 years ago

[DevExpress Support Team: CLONED FROM T436635: Organize Members - blank lines are left between Imports and Namespace]
Sub Main problem is gone, but now Organize Members is working strangely, try following:

Visual Basic
Imports System.IO Imports System.Text REM Organize Members on this line Namespace Client REM Then undo and on this line Module Module1 REM Then undo and on this line Sub Main() End Sub End Module End Namespace

After Organize Members anywhere (except Region case), I am expecting this (with 0 Empty line count setting):

Visual Basic
Imports System.IO Imports System.Text Namespace Client Module Module1 Sub Main() End Sub End Module End Namespace
Show previous comments (8)
AE AE
Alex Eg (DevExpress) 8 years ago

    This issue is not resolved yet. We will update the status of the ticket when it is fixed.

    OL OL
    Ondřej Linhart 8 years ago

      16.1.8.16313: Blank lines are left after one-lined comments.

      Before Organize Members:

      Visual Basic
      Imports System.IO Imports System.Text 'Comment 1 Namespace Client 'Comment 2 Module Module1 Sub Main() End Sub 'Comment 3 End Module End Namespace

      After Organize Members:

      Visual Basic
      Imports System.IO Imports System.Text 'Comment 1 Namespace Client 'Comment 2 Module Module1 Sub Main() End Sub 'Comment 3 End Module End Namespace
      DevExpress Support Team 8 years ago

        Hello,

        I've created a separate ticket on your behalf (T449018: Organize Members doesn't remove trailing empty lines after a single line comment if the 'Remove existing line breaks' option is enabled). It has been placed in our processing queue and will be answered shortly.

        Answers approved by DevExpress Support

        created 8 years ago

        We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

        Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

          Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

          Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.