rogalmic / vscode-xml-complete

XML editing helper (using XSD schemaLocation)
MIT License
28 stars 14 forks source link

axaml not recognized #34

Closed devel0 closed 3 years ago

devel0 commented 3 years ago

because of https://github.com/AvaloniaUI/avalonia-dotnet-templates/issues/44 new avalonia templates uses axaml in place of xaml extenion.

if rename axaml to xaml then xmlcomplete recognize and format document but I wondering how to set vscode to allow xml complete to work either with axaml extenion file like xaml.

devel0 commented 3 years ago

found the way, simply adding the languageid in the ~/.config/Code/User/settings.json like the follow

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