Bug Report T522391
Visible to All Users

Refactoring - 'Update XPO Fields Class' inserts a redundant break line after duplicated header comments

created 8 years ago

[DevExpress Support Team: CLONED FROM T489804: XPO plugin for CodeRush Roslyn]
3) if the using already exists - the problem does not exists - but an empty line is inserted?

Comments (3)
DevExpress Support Team 8 years ago

    Hi Martin,

    Thank you for the screencast. I agree that an inserted line is redundant in this case, but my attempts to reproduce this issue locally were unsuccessful. It seems that any CodeRush or Visual Studio settings relate to the 'Update XPO Fields Class' feature's behavior. Please provide us with your Visual Studio and CodeRush settings. The following article describes how to export Visual Studio settings: How to: Share Settings Between Computers or Visual Studio Versions. To export CodeRush settings, perform the following steps:

    1. From the Visual Studio menu, select "Support\Import and Export Settings…".
    2. Select the "Export 'CodeRush for Roslyn' settings" item in the opened dialog.
    3. Click the "Next" button and specify a path for archive with settings.
    4. Click the "Finish" button.
    M M
    Martin Praxmarer - DevExpress MVP 8 years ago

      Hi Alex,

      attached are the needed files!

      DevExpress Support Team 8 years ago

        Hi Martin,

        Thank you for providing the required info. I have reproduced this issue on the project that you provided in the following ticket: Refactoring - 'Update XPO Fields Class' generates duplicated header comments. We are working on a fix and will notify you of our progress.

        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.

          Show previous comments (1)
          DevExpress Support Team 8 years ago

            Hi Martin,

            I'm happy to know that the problem is solved. As for the missing settings, we have found that the settings were stored in the incorrect place in the first build. Now we have corrected this and your settings will never be lost again. Please accept our apologies for the inconvenience.

            M M
            Martin Praxmarer - DevExpress MVP 8 years ago

              thx Andrew!

              DevExpress Support Team 8 years ago

                You are welcome!

                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.