Skip to content

Commit

Permalink
Fix VSCode launch tasks
Browse files Browse the repository at this point in the history
  • Loading branch information
JoeRobich committed Aug 25, 2021
1 parent 8ef919a commit 0a0a9de
Showing 1 changed file with 38 additions and 20 deletions.
58 changes: 38 additions & 20 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/artifacts/bin/dotnet-format/Debug/netcoreapp3.1/dotnet-format.dll",
"program": "${workspaceFolder}/artifacts/bin/dotnet-format/Debug/net6.0/dotnet-format.dll",
"args": [
"@validate.rsp",
"--check"
"--verify-no-changes"
],
"cwd": "${workspaceFolder}",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
Expand All @@ -22,17 +22,37 @@
"justMyCode": false
},
{
"name": "format -f --check",
"name": "format format.sln --verify-no-changes",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/artifacts/bin/dotnet-format/Debug/netcoreapp3.1/dotnet-format.dll",
"program": "${workspaceFolder}/artifacts/bin/dotnet-format/Debug/net6.0/dotnet-format.dll",
"args": [
"-f",
"format.sln",
"-v",
"diag",
"--verify-no-changes"
],
"cwd": "${workspaceFolder}",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
"console": "internalConsole",
"stopAtEntry": false,
"justMyCode": false
},
{
"name": "format whitespace --folder --verify-no-changes",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/artifacts/bin/dotnet-format/Debug/net6.0/dotnet-format.dll",
"args": [
"whitespace",
"--folder",
"-v",
"diag",
"--check"
"--verify-no-changes"
],
"cwd": "${workspaceFolder}/src",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
Expand All @@ -41,17 +61,18 @@
"justMyCode": false
},
{
"name": "format format.sln --check",
"name": "format whitespace format.sln --verify-no-changes",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/artifacts/bin/dotnet-format/Debug/netcoreapp3.1/dotnet-format.dll",
"program": "${workspaceFolder}/artifacts/bin/dotnet-format/Debug/net6.0/dotnet-format.dll",
"args": [
"whitespace",
"format.sln",
"-v",
"diag",
"--check"
"--verify-no-changes"
],
"cwd": "${workspaceFolder}",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
Expand All @@ -60,20 +81,18 @@
"justMyCode": false
},
{
"name": "format format.sln --fix-style warn --check",
"name": "format style format.sln --verify-no-changes",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/artifacts/bin/dotnet-format/Debug/netcoreapp3.1/dotnet-format.dll",
"program": "${workspaceFolder}/artifacts/bin/dotnet-format/Debug/net6.0/dotnet-format.dll",
"args": [
"style",
"format.sln",
"--fix-whitespace",
"--fix-style",
"warn",
"-v",
"diag",
"--check"
"--verify-no-changes"
],
"cwd": "${workspaceFolder}",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
Expand All @@ -82,19 +101,18 @@
"justMyCode": false
},
{
"name": "format format.sln --fix-analyzers warn --check",
"name": "format analyzers format.sln --verify-no-changes",
"type": "coreclr",
"request": "launch",
"preLaunchTask": "build",
// If you have changed target frameworks, make sure to update the program path.
"program": "${workspaceFolder}/artifacts/bin/dotnet-format/Debug/netcoreapp3.1/dotnet-format.dll",
"program": "${workspaceFolder}/artifacts/bin/dotnet-format/Debug/net6.0/dotnet-format.dll",
"args": [
"analyzers",
"format.sln",
"--fix-analyzers",
"warn",
"-v",
"diag",
"--check"
"--verify-no-changes"
],
"cwd": "${workspaceFolder}",
// For more information about the 'console' field, see https://aka.ms/VSCode-CS-LaunchJson-Console
Expand Down

0 comments on commit 0a0a9de

Please sign in to comment.