File tree 2 files changed +31
-2
lines changed
2 files changed +31
-2
lines changed Original file line number Diff line number Diff line change 1
- # 0.30.5
1
+ # 0.30.6
2
+ ## What's Changed
3
+ ### Trailing comma is placed on new line if last enum value is followed by a comment [ #1429 ] ( https://github.com/belav/csharpier/issues/1429 )
4
+ ``` c#
5
+ // input
6
+ enum MyEnum
7
+ {
8
+ First ,
9
+ Second // the second value
10
+ }
11
+
12
+ // 0.30.5
13
+ enum MyEnum
14
+ {
15
+ First ,
16
+ Second // the second value
17
+ ,
18
+ }
19
+
20
+ // 0.30.6
21
+ enum MyEnum
22
+ {
23
+ First ,
24
+ Second , // the second value
25
+ }
26
+ ```
27
+
28
+ ** Full Changelog** : https://github.com/belav/csharpier/compare/0.30.5...0.30.6
29
+ # 0.30.5
2
30
## What's Changed
3
31
### Extra blank line added to file each time csharpier runs on this file [ #1426 ] ( https://github.com/belav/csharpier/issues/1426 )
4
32
When a file ended in a comment and that comment had multiple blank lines before it, a new blank line was being added each time it was formatted.
@@ -2891,5 +2919,6 @@ Thanks go to @pingzing
2891
2919
2892
2920
2893
2921
2922
+
2894
2923
2895
2924
Original file line number Diff line number Diff line change 1
1
<Project >
2
2
<PropertyGroup >
3
- <Version >0.30.5 </Version >
3
+ <Version >0.30.6 </Version >
4
4
<PackageLicenseExpression >MIT</PackageLicenseExpression >
5
5
<RepositoryUrl >https://github.com/belav/csharpier</RepositoryUrl >
6
6
<RepositoryType >git</RepositoryType >
You can’t perform that action at this time.
0 commit comments