Closed devel0 closed 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.
found the way, simply adding the languageid in the ~/.config/Code/User/settings.json like the follow
~/.config/Code/User/settings.json
{ "files.associations": { "*.axaml": "xml" } }
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.