Bug Report T921366
Visible to All Users

IntelliRush breaks auto-formatting on a tag completion for XAML in Visual Studio 2019

created 5 years ago

Hi,

Just started using Coderush on a WPF project a couple of months ago and really like it. However, I lost a capability when editing xaml files and hope you can get it back for me.

For instance, I may need to add another level of LayoutControl to a section. It was pretty simple to add
<dxlc:LayoutControl Orientation=Horizontal>

Of course, the </dxlc:LayoutControl> is automatically added to the end of the line. I delete it and move the cursor to the end of the section and enter </ and select </dxlc:LayoutControl> and it's added to the end of the line. What used to happen is that it would be added as a separate line, with the indent aligned with its matching statement and everything in between would be reformatted with indents adjusted. Now I have to select the section and reformat.

Am I doing this incorrectly or perhaps there is an option I need to change in the Coderush setup, but in any case, can you help me get this functionality back or suggest a work around?

Thank you for your time.

Cheers,
Larry

Show previous comments (4)
AE AE
Alex Eg (DevExpress) 5 years ago

    Hi Larry,
    Thank you for sharing your settings. I reproduced the issue. At first glance, it seems that it's caused by the IntelliRush feature. As a temporary workaround, I suggest you disable it. Please refer to the following help topic for more information: https://docs.devexpress.com/CodeRushForRoslyn/115841/coding-assistance/auto-completion/intellirush.

    Another way is to erase the '>' character and type it to invoke formatting:
    https://www.screencast.com/t/2Vl56IwXF5W

      Hi Alex,

      Thank you for the work around. Will you update me if a fix will be forthcoming? Also, I noticed this is private and if you think it is of interest to other users, you have my permission to make it public.

      Cheers,
      Larry

      AE AE
      Alex Eg (DevExpress) 5 years ago

        Larry,
        We will update this ticket once the issue is fixed. Thank you for the permission to mark the ticket as 'Public'.

        Answers approved by DevExpress Support

        created 5 years ago

        We have addressed the issue described in this ticket and will include a fix in our next maintenance update. To apply this solution before official release, request a hotfix by clicking the appropriate version link.

        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.