Comments (2)
Can you confirm whether you have anything listed under the NoNewLineMarkupExtensions
option? By default, this is set to x:Bind
or Binding
, which would prevent the desired formatting as described above. If I remove those, then formatting returns the following for me when FormatMarkupExtension
is set to true.
<RadioButton
VerticalAlignment="Center"
Content="{x:Static res:EncodingRes.Bitrate}"
IsChecked="{Binding EncodeRateType,
Converter={StaticResource EnumBoolConverter},
ConverterParameter={x:Static model:AudioEncodeRateType.Bitrate}}" />
from xamlstyler.
Ahh, that was it, thanks!
The default was stopping formatting for that. The default seems odd because Binding
is usually has the most verbose markup extensions for me.
from xamlstyler.
Related Issues (20)
- Is it possible to prevent formatting of short lines - regardless of number of attributes? HOT 2
- Markup extensions not keep on line HOT 1
- Add support for Rider 2023.2 HOT 7
- Position Setter each attribute on a separate line HOT 2
- XamlStyler moves <!--#endregion--> wrongly HOT 5
- Unit tests are broken on Unix HOT 1
- Console: Add option to write formatted output to stdout instead of modifying the file HOT 1
- Yasin
- Yasin
- Extension will not alphabetize HOT 4
- XamlStyler.Console doesn't read axaml files when searching recursively
- can not run in linux while dotnet-sdk 7/8 installed HOT 1
- XAML Styler firing for Project files (*.csproj) also after updating to v3.2311.2. Previously, it was working fine. HOT 8
- Error in StylerPackage (regarding &) HOT 1
- "Max attribute characters per line" is not respected even when "Attribute Tolerance"=5 and "Max attributes per line"=8 HOT 5
- Rider 2023.3 support
- Unexpected results with <elements> in text HOT 3
- Unhandled FileNotFoundException when specifying an invalid file in XAML console
- Styles doesn't break line with a long binding expression - Styler should break lines when there are binding parameters
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xamlstyler.