Skip to content

Commit 2e0a50b

Browse files
Update R# commands in VSCode tasks
Summary: This commit updates the arguments and options for the R# commands in the VSCode tasks.json file. It uses the long-form names for clarity, adds verbosity and profile options for the cleanupcode command, and fixes a typo in the output option for the inspectcode command. These changes improve the usability and readability of the R# commands.
1 parent 1cd09c1 commit 2e0a50b

1 file changed

Lines changed: 9 additions & 4 deletions

File tree

‎.vscode/tasks.json‎

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@
2828
"problemMatcher": "$msCompile",
2929
"group": "build"
3030
},
31+
// If R# commands fails run:
32+
// - dotnet new tool-manifest
33+
// - dotnet tool install JetBrains.ReSharper.GlobalTools
3134
{
3235
// r# inspect - dotnet jb inspectcode -o="inspectcode.log" --no-build -s=".\SK-dotnet.sln.DotSettings" -f=Text ".\SK-dotnet.sln"
3336
"label": "R# check",
@@ -37,10 +40,10 @@
3740
"args": [
3841
"jb",
3942
"inspectcode",
40-
"-o=inspectcode.log",
43+
"--output=inspectcode.log",
4144
"--no-build",
42-
"-s=SK-dotnet.sln.DotSettings",
43-
"-f=Text",
45+
"--settings=SK-dotnet.sln.DotSettings",
46+
"--format=Text",
4447
"SK-dotnet.sln"
4548
],
4649
"options": {
@@ -57,7 +60,9 @@
5760
"jb",
5861
"cleanupcode",
5962
"--no-build",
60-
"-s=SK-dotnet.sln.DotSettings",
63+
"--verbosity=WARN",
64+
"--profile=Built-in: Reformat Code",
65+
"--settings=SK-dotnet.sln.DotSettings",
6166
"SK-dotnet.sln"
6267
],
6368
"options": {

0 commit comments

Comments
 (0)