You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use this extension in Visual Studio and cannot find a way to configure it such that XAML files are treated as XML, or at least to turn Rewrap off for these files. It's annoying that the code gets re-formatted whenever you paste somthing without turning auto wrap off first.
Anything of these features would help:
Silently treat XAML as XML, or
Add XAML to the list of configurable “languages”, or
Exclude file types that rewrap shouldn't handle by specifying their extensions.
The text was updated successfully, but these errors were encountered:
VS Code detects .xaml files as .xml files, but VS doesn't (the
language returned is xaml). But there should really be a separate XAML
type, so this adds it (in vscode xaml files will still be treated as xml
unless the user has an extension installed).
Yeah that XAML didn't already exist as its own type was an oversight :) I've added it now, so it will be in the next version.
I'm also looking into porting the recent feature from the VS Code version to the VS version, that lets you also configure whether auto-wrap is by default on or off per file-type.
I use this extension in Visual Studio and cannot find a way to configure it such that XAML files are treated as XML, or at least to turn Rewrap off for these files. It's annoying that the code gets re-formatted whenever you paste somthing without turning auto wrap off first.
Anything of these features would help:
The text was updated successfully, but these errors were encountered: