Bug Report T565621
Visible to All Users

Formatting - Incorrect screenshot for braces options in What's New

created 7 years ago

Latest version of CodeRush for Roslyn moved some settings around, and that's fine. However, in the moving, the Align By settings got lost for the Braces feature, so all I can do is have alignment that I don't want.

I've attached screenshots of what it should look like based on your "What's New", and what it actually looks like.

I was really hoping you guys would have the code formatter fully working by this point because my Resharper sub comes up for renewal this week, and it's the only option for a fully working flexible nice-looking code formatting engine. I have everything else in their stuff turned off, but their code formatter works, whereas this one still needs work -- it's a lot closer than last year, though! Hopefully by this time next year I won't have to use Resharper at all. I've been waiting a few years, so I'm not expecting it, but it'd sure be nice.

Show previous comments (2)
AE AE
Alex Eg (DevExpress) 7 years ago

    Jason,
    Our Formatting engine is at the active development stage and some feature can have issues or non-complete functionality. Our goal is to make them better with each release. Since our development sprint is usually 4-5 weeks long, we can quickly respond to your feedback. As I can see, all of the issues were already processed. Can you please give us more details on important things that are broken or are not implemented so we can prioritize them?

      There just aren't enough settings to handle things, and I've found that settings get applied either too heavy-handed or inconsistently. There isn't enough working yet to have me use this for more than a few minutes to find the next batch of problems.

      I set that I want 1 blank line between methods. Apply formatting. Poof, no spacing between fields and the constructor. A constructor IS a method, it's just a specialized method.

      Next, wrapping for Chained Method Calls really needs to have a tolerance setting. If I have a tolerance setting set that doesn't get matched, I don't want the formatting system to unformat whatever I have done manually for a given situation (which is what the tolerance settings do now if the tolerance level isn't met, and I've reported this item previously, although I think that's just falling through to the standard VS formatting engine which isn't up to the task.)

      Many of the Wrapping options need a "Wrap if Long" option in addition to "Wrap if Long of Multi-line". I don't want a method call going from one line that's too long to one extra line per parameter. I don't want a method signature doing the same. There are times I just want a line wrapped if it's too long, and otherwise leave it alone.

      You guys really need to install Resharper and take a look at its code formatter. It's the one thing Resharper is good for. I can send you my settings and you can see why I'm so woeful when I try this one. This formatter is faster, so I'd really like to see it fully functional. Not to mention that just having Resharper turned on interferes with and crashes the DX Report Designer.

      AE AE
      Alex Eg (DevExpress) 7 years ago

        Answers approved by DevExpress Support

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