From e00f76d59939fb0ef8a18c07ef875f2497ddecbf Mon Sep 17 00:00:00 2001 From: Tim Haasdyk Date: Mon, 6 Oct 2025 10:39:03 +0200 Subject: [PATCH] Give VS Code tasks for Lexbox API better names --- .vscode/launch.json | 24 ++++++++++++++++++++---- .vscode/tasks.json | 20 ++++++++++++++++---- 2 files changed, 36 insertions(+), 8 deletions(-) diff --git a/.vscode/launch.json b/.vscode/launch.json index 61017f9124..1fd476835a 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -20,10 +20,10 @@ "stopAtEntry": false, }, { - "name": ".NET Core Launch (web)", + "name": "Lexbox API (Launch)", "type": "coreclr", "request": "launch", - "preLaunchTask": "build", + "preLaunchTask": "Build Lexbox API", "program": "${workspaceFolder}/backend/LexBoxApi/bin/Debug/net9.0/LexBoxApi.dll", "args": [], "cwd": "${workspaceFolder}/backend/LexBoxApi", @@ -40,10 +40,26 @@ } }, { - "name": ".NET Core Attach", + "name": "Lexbox API (Attach)", "type": "coreclr", "request": "attach", "processName": "LexBoxApi" - } + }, + { + "name": "FwHeadless", + "type": "coreclr", + "request": "launch", + "preLaunchTask": "Build FwHeadless", + "program": "${workspaceFolder}/backend/FwHeadless/bin/Debug/net9.0/FwHeadless.dll", + "args": [], + "cwd": "${workspaceFolder}/backend/FwHeadless", + "stopAtEntry": false, + "env": { + "ASPNETCORE_ENVIRONMENT": "Development" + }, + "sourceFileMap": { + "/Views": "${workspaceFolder}/Views" + } + }, ] } diff --git a/.vscode/tasks.json b/.vscode/tasks.json index de8285c8b0..e1c6d62861 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -14,7 +14,7 @@ "problemMatcher": "$msCompile" }, { - "label": "build", + "label": "Build Lexbox API", "command": "dotnet", "type": "process", "args": [ @@ -26,7 +26,7 @@ "problemMatcher": "$msCompile" }, { - "label": "publish", + "label": "Publish Lexbox API", "command": "dotnet", "type": "process", "args": [ @@ -38,7 +38,7 @@ "problemMatcher": "$msCompile" }, { - "label": "watch", + "label": "Watch Lexbox API", "command": "dotnet", "type": "process", "args": [ @@ -48,6 +48,18 @@ "${workspaceFolder}/backend/LexBoxApi/LexBoxApi.csproj" ], "problemMatcher": "$msCompile" - } + }, + { + "label": "Build FwHeadless", + "command": "dotnet", + "type": "process", + "args": [ + "build", + "${workspaceFolder}/backend/FwHeadless/FwHeadless.csproj", + "/property:GenerateFullPaths=true", + "/consoleloggerparameters:NoSummary" + ], + "problemMatcher": "$msCompile" + }, ] }