Bug Report T1035731
Visible to All Users

Code View - “Structural Highlighting” does not support namespace prefixed tag names from the XHTML standard

created 3 years ago

I cannot add tags like "dx:BootstrapPopupControl" for structural highlighting in HTML files.

Comments (3)
DevExpress Support Team 3 years ago

    Hi Alex,

    Thank you for reaching out to us.

    I didn't manage to reproduce the problematic behavior. As you can see in the screenshot below, the Structure Highlighting feature recognizes namespace prefixed tag names correctly both in .html and .aspx files on my side:

    Clipboard-File-1.png

    Please share your CodeRush settings for further research. CodeRush stores its settings in two different locations:

    • "Global" settings are stored in the %AppData%\CodeRush\Settings folder;
    • Solution-level settings can be found in the .cr folder next to the .sln file.

    Just pack both folders into an archive and share it with us using the comment form below.

    I look forward to hearing from you.

      Thanks for the response! I wasn't clear in my original post I am trying to change how the highlighting looks for the dx:BootstrapLayoutGroup tag in the editor window.
      I was able to change it for the ContentCollection collection tag but when added trying to add dx:BootstrapLayoutGroup it won't accept it.
      Clipboard-File-2.png
      Clipboard-File-3.png

      DevExpress Support Team 3 years ago

        Hi Alex,

        Thank you for clarifying this.

        CodeRush doesn't support such a scenario because of the tag name validation mechanism. That is, after Add Tag Name button click CodeRush ensures that the HTML tag name textbox's value contains a valid html tag name and since namespace prefixed tag names aren't allowed in the HTML standard - CodeRush does nothing. Tag names like dx:BootstrapLayoutGroup are valid in the XHTML standard. Give me please additional time to discuss XHTML support for the Structural Formatting feature with the team.

        I will update this thread once we have news.

        Answers approved by DevExpress Support

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