Comments (2)
@wlaroche to confirm, you are observing this with the default settings in the extension (i.e., no external settings configuration file)?
To help debug, can you try using the default settings as an external configuration to see if that resolves the differences?
from xamlstyler.
OK, i'm just seing that i have a Settings.XamlStyler near my solution with this content:
{
"AttributesTolerance": 2,
"KeepFirstAttributeOnSameLine": false,
"MaxAttributeCharactersPerLine": 60,
"MaxAttributesPerLine": 3,
"NewlineExemptionElements": "RadialGradientBrush, GradientStop, LinearGradientBrush, ScaleTransform, SkewTransform, RotateTransform, TranslateTransform, Trigger, Condition, Setter",
"SeparateByGroups": true,
"AttributeIndentation": 0,
"AttributeIndentationStyle": 1,
"RemoveDesignTimeReferences": false,
"EnableAttributeReordering": true,
"AttributeOrderingRuleGroups": [
"x:Class",
"xmlns, xmlns:x",
"xmlns:*",
"x:Key, Key, x:Name, Name, x:Uid, Uid, Title",
"Grid.Row, Grid.RowSpan, Grid.Column, Grid.ColumnSpan",
"Canvas.Left, Canvas.Top, Canvas.Right, Canvas.Bottom",
"Width, Height, MinWidth, MinHeight, MaxWidth, MaxHeight",
"HorizontalAlignment, VerticalAlignment, HorizontalContentAlignment, VerticalContentAlignment",
"Margin, Padding",
"*:*, *",
"PageSource, PageIndex, Offset, Color, TargetName, Property, Value, StartPoint, EndPoint",
"mc:Ignorable, d:IsDataSource, d:LayoutOverrides, d:IsStaticText",
"Storyboard.*, From, To, Duration"
],
"FirstLineAttributes": "x:Key, Key, x:Name, Name",
"OrderAttributesByName": true,
"PutEndingBracketOnNewLine": false,
"RemoveEndingTagOfEmptyElement": true,
"SpaceBeforeClosingSlash": true,
"RootElementLineBreakRule": 0,
"ReorderVSM": 2,
"ReorderGridChildren": false,
"ReorderCanvasChildren": false,
"ReorderSetters": 0,
"FormatMarkupExtension": true,
"NoNewLineMarkupExtensions": "x:Bind, Binding",
"ThicknessSeparator": 2,
"ThicknessAttributes": "Margin, Padding, BorderThickness, ThumbnailClipMargin",
"FormatOnSave": true,
"CommentPadding": 2,
}
I tried 2 cases:
When I I set in VS and Rider the exact path of Settings.XamlStyler file in settings, the formatting results is the same in each editor => OK.
In my case, I would not set a specific file, because in the team, each developer has its own workspace.
I tried with just settings the filename, not the complete path and it does not work. => formatting results are different.
I would like to use this option: "Search in drive root"
When activating this option in each editors, I have not the same formatting results. I confirm I have only one config file in all my solution.
from xamlstyler.
Related Issues (20)
- The description and the title of the Addin is incorrect
- TODO: Release XamlStyler 3.2401 HOT 5
- Generate JSON Schema for config file HOT 1
- When adding a Propertygroup to a project XAML, an error in StylerPackage appears HOT 3
- DataGrid Header HOT 3
- No such interface supported HOT 1
- New releases blocked on release build extension deployment bug and VS debugging HOT 7
- Final feature update and deprecate support for Visual Studio 2017
- Update Newtonsoft.Json package to version 12.0.2 HOT 3
- Files with UTF-16 encoding fail when running xstyler on Ubuntu
- Error: the nuget package not found HOT 2
- Output details about the failures when running in passive mode
- IndentWithTabs ignored if VS is configured to use tabs
- Add MAUI attribute ordering rule groups
- I hope to add features that some control not use XamlStyler Formmrat HOT 3
- Issue when trying to use external config file HOT 1
- E_NOINTERFACE Dialog from XAML Styler when saving csproj file
- Rider EAP build
- VS Code version
- You must install or update .NET to run this application.
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.