Bug Report T973249
Visible to All Users

Code Formatting adds an unnecessary line break to attributes

created 4 years ago

Hi,

which settings are required in CodeRush to achieve

C#
public IApplicationInfoOptions RegisterConnectionTest<[DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)]T>() where T : IApplicationInfoConnectionTest;

instead of (currently)

C#
public IApplicationInfoOptions RegisterConnectionTest< [DynamicallyAccessedMembers(DynamicallyAccessedMemberTypes.All)]T>() where T : IApplicationInfoConnectionTest;

(looks really irritating and is hard to read)
Line Length is set to 180.
TIA
Michael

Comments (3)
DevExpress Support Team 4 years ago

    Hi Michael,

    Thank you for informing us about this problem.
    I reproduced it. Please give us some time to find a solution. We will let you know when we're done.

    In the meantime consider disabling the Spacing settings for attributes in CodeRush options as it is shown in the image.

    MW MW
    Michael Wittmer 4 years ago

      Hi Eugene,

      please excuse my late response.
      I’m looking forward towards the next release of CodeRush.

      Thank You
      Michael

      DevExpress Support Team 4 years ago

        Hi Michael,

        Thank you for contacting us.
        It is not a problem. As it is mentioned in the answer, you can request a hotfix here if you need to get the fix prior to the official release.

        Answers approved by DevExpress Support

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

          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.