Bug Report T804883
Visible to All Users

Formatting – Formatting incorrectly shifts braces in the Object initializer expression

created 6 years ago

See this video screen capture which shows what happens when CodeRush formatting is applied to my code on save: https://davesparks.tinytake.com/tt/MzY5MDkxMV8xMTIxMjgyNA.  I have also attached a screenshot of my Object Initializer wrapping formatting settings.

With these settings I would not expect any change to the original formatting in this code. I can workaround this by uncheck the Object Initializer option.

Comments (3)
DevExpress Support Team 6 years ago

    Hi Dave,

    Thank you for letting us know about the issue. I managed to reproduce it locally and passed to our R&D queue.
    We will notify you in this thread once we have any results.

      I can confirm that this is now fixed in v19.1.8. Thanks.

      DevExpress Support Team 5 years ago

        Hi Dave,

        Your cooperation is greatly appreciated. Thank you for the confirmation.

        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.