Skip to content

Commit 33b07f5

Browse files
authored
Releasing 0.17.0 (#676)
switching to github action that works
1 parent 20f214d commit 33b07f5

File tree

5 files changed

+34
-7
lines changed

5 files changed

+34
-7
lines changed

.github/workflows/publish_nuget.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,17 @@ jobs:
2525
with:
2626
dotnet-version: '6.0.201'
2727
- name: Publish CSharpier.Core library on version change
28-
uses: rohith/publish-nuget@v2
28+
uses: alirezanet/publish-nuget@v3.0.4
2929
with:
3030
PROJECT_FILE_PATH: Src/CSharpier/CSharpier.csproj
3131
TAG_FORMAT: "*"
3232
- name: Publish CSharpie dotnet tool on version change
33-
uses: rohith/publish-nuget@v2
33+
uses: alirezanet/publish-nuget@v3.0.4
3434
with:
3535
PROJECT_FILE_PATH: Src/CSharpier.Cli/CSharpier.Cli.csproj
3636
TAG_FORMAT: "*"
3737
- name: Publish CSharpier.MsBuild library on version change
38-
uses: rohith/publish-nuget@v2
38+
uses: alirezanet/publish-nuget@v3.0.4
3939
with:
4040
PROJECT_FILE_PATH: Src/CSharpier.MsBuild/CSharpier.MsBuild.csproj
4141
TAG_FORMAT: "*"

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
# 0.17.0
2+
3+
[diff](https://github.com/belav/csharpier/compare/0.16.0...0.17.0)
4+
5+
- MSBuild Task target too late? Breakpoints are not hit [#674](https://github.com/belav/csharpier/issues/674)
6+
- Excessive indent level with lambda as the only method call argument [#669](https://github.com/belav/csharpier/issues/669)
7+
- Empty (or malformed) .csproj file will cause csharpier to fail. [#665](https://github.com/belav/csharpier/issues/665)
8+
- #endif retains extra blank lines [#660](https://github.com/belav/csharpier/issues/660)
9+
- Option for indentation [#645](https://github.com/belav/csharpier/issues/645)
10+
- Small bug with formatting LINQ queries with multiple orderby fields [#643](https://github.com/belav/csharpier/issues/643)
11+
- Consistently Indent By 4 Spaces [#617](https://github.com/belav/csharpier/issues/617)
12+
- Conditional access edge cases [#603](https://github.com/belav/csharpier/issues/603)
13+
- Improve formatting for casting [#407](https://github.com/belav/csharpier/issues/407)
14+
115
# 0.16.0
216

317
[diff](https://github.com/belav/csharpier/compare/0.15.1...0.16.0)

CSharpier.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<Project>
22
<PropertyGroup>
3-
<Version>0.16.0</Version>
3+
<Version>0.17.0</Version>
44
<PackageLicenseExpression>MIT</PackageLicenseExpression>
55
<RepositoryUrl>https://github.com/belav/csharpier</RepositoryUrl>
66
<RepositoryType>git</RepositoryType>

Src/Website/docs/Configuration.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,16 @@ JSON
1111
```json
1212
{
1313
"printWidth": 100,
14+
"useTabs": false,
15+
"tabWidth": 4,
1416
"preprocessorSymbolSets": ["", "DEBUG", "DEBUG,CODE_STYLE"]
1517
}
1618
```
1719
YAML
1820
```yaml
1921
printWidth: 100
22+
useTabs: false
23+
tabWidth: 4
2024
preprocessorSymbolSets:
2125
- ""
2226
- "DEBUG"
@@ -27,6 +31,14 @@ preprocessorSymbolSets:
2731
Specify at what point the printer will wrap content. This is not a hard limit. Some lines will be shorter or longer.
2832
2933
Default 100
34+
#### Use Tabs
35+
Indent lines with tabs instead of spaces.
36+
37+
Default false
38+
#### Tab Width
39+
Specify the number of spaces used per indentation level.
40+
41+
Default 4
3042
3143
#### Preprocessor Symbol Sets
3244
Currently CSharpier only has basic support for understanding how to format code inside of `#if` directives.
@@ -46,4 +58,4 @@ For example in the following code block, the following symbol sets would be need
4658

4759
When supplying symbol sets, they will be used for all files being formatted. This will slow down formatting, and determining all symbol sets needed across all files won't be straight forward.
4860

49-
The long term plan is to improve Csharpier's ability to determine the symbol sets itself and to allow specifying the for individual files.
61+
The long term plan is to improve Csharpier's ability to determine the symbol sets itself and to allow specifying them for individual files.

Src/Website/docs/ExtensionTestCases.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
- Edit warms
1616
- Finds local version
1717
- Finds global version
18-
- Uses correct version - adding lines between methods is easy to test, 0.12 vs 0.14
18+
- Uses correct version - use 0.12.0, ensure that it adds blank lines between methods
19+
- Unsaved document can be formatted (may just apply to vscode)
1920
- Action (does not apply to vscode)
2021
- is not shown on files that aren't c#
21-
- run on save works
22+
- run on save works

0 commit comments

Comments
 (0)