Bug Report T522390
Visible to All Users

Refactoring - 'Update XPO Fields Class' generates duplicated header comments

created 8 years ago

[DevExpress Support Team: CLONED FROM T489804: XPO plugin for CodeRush Roslyn]
Currently an using statement is added - but not the place where existing usings are - and, currently i see that my header comments are duplicated - but i cannot stable reproduce it - in some files it happen, in some not - see attached video

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

    Hi Martin,

    Thank you for providing the sample project and CodeRush settings. I have reproduced the issue locally and we are working on it.

    Also, I have noticed that you place using references inside an active namespace. CodeRush for Roslyn has an option for namespace references' declaration style. I recommend you set this option in accordance with your style. For this, please perform the following steps:

    1. From the Visual Studio menu, select "CodeRush\Options…" .
    2. In the tree view on the left, navigate to the "Editor\C#" folder.
    3. Select the "Programming Style" options page.
    4. Select the "Place namespace import/using references inside the active namespace" item in the "Namespace references declaration style" group.
    M M
    Martin Praxmarer - DevExpress MVP 8 years ago

      Thx for the Info Alex!

      DevExpress Support Team 8 years ago

        You are welcome, Martin.

        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.