View previous topic :: View next topic |
Author |
Message |
lahi
Joined: 02 Feb 2010 Posts: 4
|
Posted: Fri Oct 27, 2017 8:55 am Post subject: Globalizer is messing up XAML formatting |
|
|
The tool is removing the line break after reformating a XAML file.
How to tell globalizer to not reformat the first part of XAML files?
left -> before scan and rebuild a project
right -> after rebuilding a project with localized resources
|
|
Back to top |
|
|
Infralution
Joined: 28 Feb 2005 Posts: 5027
|
Posted: Wed Nov 01, 2017 9:30 am Post subject: |
|
|
Globalizer uses the standard Microsoft XmlDocument class to read and modify the XAML. Unfortunately this only has limited options for formatting. You can set these options by selecting the root target in your workspace and then in the Settings window select the WPF tab. This has XML Formatting options including an option to "Write attributes on new lines" - which is probably the one you want to turn on. _________________ Infralution Support |
|
Back to top |
|
|
|