Skip to content

Commit

Permalink
add formatting task and cli tool
Browse files Browse the repository at this point in the history
  • Loading branch information
fuzzzerd committed Sep 15, 2023
1 parent 35cbf71 commit 22390f7
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"xamlstyler.console": {
"version": "3.2206.4",
"commands": [
"xstyler"
]
}
}
}
6 changes: 6 additions & 0 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,12 @@
"${workspaceFolder}/SharpFM.sln"
],
"problemMatcher": "$msCompile"
},
{
"label": "xstyler",
"type": "shell",
"command": "dotnet xstyler -f ${file} --ignore",
"problemMatcher": []
}
]
}

0 comments on commit 22390f7

Please sign in to comment.