Skip to content

Commit 22390f7

Browse files
committed
add formatting task and cli tool
1 parent 35cbf71 commit 22390f7

2 files changed

Lines changed: 18 additions & 0 deletions

File tree

.config/dotnet-tools.json

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"version": 1,
3+
"isRoot": true,
4+
"tools": {
5+
"xamlstyler.console": {
6+
"version": "3.2206.4",
7+
"commands": [
8+
"xstyler"
9+
]
10+
}
11+
}
12+
}

.vscode/tasks.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,12 @@
3636
"${workspaceFolder}/SharpFM.sln"
3737
],
3838
"problemMatcher": "$msCompile"
39+
},
40+
{
41+
"label": "xstyler",
42+
"type": "shell",
43+
"command": "dotnet xstyler -f ${file} --ignore",
44+
"problemMatcher": []
3945
}
4046
]
4147
}

0 commit comments

Comments
 (0)