Bug Report T1035699
Visible to All Users

Code Cleanup - Code Cleanup is not applied if the “Apply on Save” option is enabled

created 3 years ago (modified 3 years ago)

Hello,

After the latest version of CodeRush was updated(21.1.8) in Visual Studio when saving a file the code cleanup and formatting is not automatically triggered anymore. You have to go to Extensions > CodeRush > Edit > Cleanup Document to execute this action, but it's not ideal to do this for every file.

I must specify that I have the Apply Code Cleanup when saving a document option checked like in this article.

Show previous comments (1)

    Hi Igor,
    I have attached my settings archived as a zip file.

    Thank you,

      I'm experiencing the same problems. I have Organize Members checked to Apply on Save on all of the available Options Layers and actions no longer perform on save.

      Interestingly enough, if I relaunch Visual Studio 2019, after the extensions finish loading, the save actions will work. But the save actions stop working after Visual Studio has been open for a few minutes.

      DevExpress Support Team 3 years ago

        Hi Mihai,

        Thank you for sharing the CodeRush settings with us.

        Hi Ben,

        Thank you for reaching out to us and sharing your experience with the issue.

        I managed to reproduce the problem on my side and passed this ticket to our R&D queue. We will update this thread once we have news.

        Answers approved by DevExpress Support

        created 3 years ago

        We have addressed the issue described in this ticket and will include a fix in our next maintenance update. Should you need to apply our fix prior to official release, you can request a hotfix here.

        Note: Hotfixes may be unavailable for betas/updates set for release within a week.

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

            You're always welcome, Ben.

            Thank you for informing us that the issue has been resolved. Please do not hesitate to contact us in case of any difficulty.

              I was having the same issues as well. The hotfix seems to have fixed the issue on my end too. Thank you guys for providing a temporary fix until something permanent is in place.

              DevExpress Support Team 3 years ago

                Hi Nathan,

                You're always 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.