Skip to content

Minor bug: XML files are labeled as "qhelp" #339

Description

@shati-patel

Describe the bug

image

To reproduce
Open an XML file in a workspace that has the CodeQL extension enabled.

Expected behavior

  • Query help (.qhelp) files are highlighted as XML
  • XML files are still labeled as "XML"

Additional context
@p- recently introduced XML highlighting for Query help files (see #326) ❤️
That update probably got VS Code confused about "normal" XML files.

(Tangential note: I have now added a file association in my user settings, which tells VS Code to treat .qhelp files as XML, without overriding the default XML behavior:

"files.associations": {
    "*.qhelp": "xml"
}

I don't know if it's possible to impose that from within the extension though, so that might not be a helpful approach!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions