From 0b14755ac303533819138a8b7f4aa8f02c780f0c Mon Sep 17 00:00:00 2001 From: nattthebear Date: Thu, 14 May 2020 17:29:31 -0400 Subject: [PATCH] minimal vscode workspace stuff some of this works --- .vscode/launch.json | 25 +++++++++++++++++++++++++ .vscode/settings.json | 4 ++++ .vscode/tasks.json | 24 ++++++++++++++++++++++++ 3 files changed, 53 insertions(+) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json create mode 100644 .vscode/tasks.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000000..b2acd4d794 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,25 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "name": ".NET Launch (console)", + "type": "clr", + "request": "launch", + "preLaunchTask": "build", + "program": "${workspaceFolder}/output/EmuHawk.exe", + "args": [], + "cwd": "${workspaceFolder}/output", + "console": "externalTerminal", + "stopAtEntry": false + }, + { + "name": ".NET Attach", + "type": "clr", + "request": "attach", + "processId": "${command:pickProcess}" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000000..49e3d968f8 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,4 @@ +{ + "editor.insertSpaces": false, + "editor.tabSize": 4 +} diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000000..1563eed509 --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,24 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "build", + "command": "dotnet", + "type": "shell", + "args": [ + "build", + // Ask dotnet build to generate full paths for file names. + "/property:GenerateFullPaths=true", + // Do not generate summary otherwise it leads to duplicate errors in Problems panel + "/consoleloggerparameters:NoSummary" + ], + "group": "build", + "presentation": { + "reveal": "silent" + }, + "problemMatcher": "$msCompile" + } + ] +} \ No newline at end of file