Bug Report T732935
Visible to All Users

Formatting – The “Chained Method Calls” formatting option works incorrectly

created 6 years ago

Hi

Consider the following short screencast which you can see here

I don't think that the second parameter should be broken up the way that it is being on save.

Regards

Dom

Answers approved by DevExpress Support

created 6 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.

    created 6 years ago (modified 6 years ago)

    Hi Dom,

    I see the problem. We have fixed it and prepared a build with this fix. Please install the build from the link below and let me know your results.
    DevExpress.CodeRush-18.2.9.19106.exe
    DevExpress.CodeRush-18.2.9.19106.vsix

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

        You are welcome!

          Sorry Andrew,  Not quite as fixed as I thought that it was;

          Observe the following

          Regards

          Dom

          DevExpress Support Team 6 years ago

            Hi Dom,

            In this case, the Wrapping\Chained Method Calls rule works. You can turn it off from the Editor\C#\Fromatting\Wrapping options page.

            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.