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
Copy file name to clipboardExpand all lines: CHANGELOG.md
+43Lines changed: 43 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,45 @@
1
+
# 1.2.4
2
+
## What's Changed
3
+
### Weird enter in closing when formatting XAML TextBlock [#1785](https://github.com/belav/csharpier/issues/1785)
4
+
CSharpier was breaking an end element to a new line when it did not need to.
5
+
```xml
6
+
<!-- input & expected output -->
7
+
<root>
8
+
<TextBlockForeground="DarkGray">
9
+
I saw the sign. When I opened up my eyes, I saw the sign.
10
+
</TextBlock>
11
+
<TextBlock>
12
+
I saw the sign. When I opened up my eyes, I saw the sign.
13
+
</TextBlock>
14
+
</root>
15
+
16
+
<!-- 1.2.3 -->
17
+
<root>
18
+
<TextBlockForeground="DarkGray">
19
+
I saw the sign. When I opened up my eyes, I saw the sign.
20
+
</TextBlock
21
+
>
22
+
<TextBlock>
23
+
I saw the sign. When I opened up my eyes, I saw the sign.
24
+
</TextBlock>
25
+
</root>
26
+
```
27
+
### Order Modifiers (IDE0036) not formatting when code is preceded by a comment. [#1784](https://github.com/belav/csharpier/issues/1784)
28
+
When incorrectly ordered modifiers were preceded by a comment they were not being reordered. Thanks go to @TimothyMakkison for the contribution
29
+
```c#
30
+
// input & 1.2.3
31
+
32
+
// Comment
33
+
requiredpublicintProp1 { get; set; }
34
+
35
+
// expected output
36
+
// Comment
37
+
publicrequiredintProp1 { get; set; }
38
+
```
39
+
### Performance issue when running CLI in project with pnpm on Windows [#1781](https://github.com/belav/csharpier/issues/1781)
40
+
The code to determine if there is a version of CSharpier.MsBuild referenced that does not match the version of CSharpier being run has been optimized to not look in node_modules or .git. This significantly speeds things up in some setups.
0 commit comments