rogalmic / vscode-xml-complete

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

Add support for .axaml files #38

Closed jiriks74 closed 3 years ago

jiriks74 commented 3 years ago

Avalonia had to move to .axaml files, because visual studio caused many bugs with .xaml. Please, add support for .axaml file extension, avalonia uses it by default now.

Thanks

rogalmic commented 3 years ago

Please take a look at #34

jiriks74 commented 3 years ago

Please take a look at #34

Thaks, but would it be possible to do it? I couldn't find this after quite a while of researching and I think it could be better for other people if it would do this automatically. I can try to research a bit and do a pull request, but I've been looking into this and haven't found anything. Thanks again for help.

rogalmic commented 3 years ago

I guess it would be possible to check if the setting has axaml value configured, if not ask user and update the setting if needed.

Other option would be to update README of this extension to include short manual.

jiriks74 commented 3 years ago

I guess it would be possible to check if the setting has axaml value configured, if not ask user and update the setting if needed.

Other option would be to update README of this extension to include short manual.

Is there a way to start the extension if it detects file? I know it is triggered by language detected (if you do ctrl+shift+k and type in xml and select it, the extension starts)

jiriks74 commented 3 years ago

I filled a bug report on vscode repository. We'll see, if they'll do something about it.

jiriks74 commented 3 years ago

@rogalmic Resolved in b4fb4d8 in vscode.