From 5671b22257b3d19021cebec9e48e51c3c8f54cce Mon Sep 17 00:00:00 2001 From: kayomn Date: Fri, 9 Sep 2022 22:54:13 +0100 Subject: [PATCH] Update VS code environment and configuration --- .vscode/launch.json | 16 ++++++++++++++++ .vscode/settings.json | 3 ++- .vscode/tasks.json | 11 ++++++++++- 3 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 .vscode/launch.json diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..1bc3c0d --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,16 @@ +{ + // 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": "Ona", + "type": "gdb", + "request": "launch", + "target": "${workspaceFolder}/zig-out/bin/ona", + "cwd": "${workspaceRoot}", + "valuesFormatting": "parseText", + } + ] +} diff --git a/.vscode/settings.json b/.vscode/settings.json index b8fc218..881cb87 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,6 +1,5 @@ { "editor.rulers": [100], - "git.detectSubmodules": false, "files.exclude":{ "**/.git": true, @@ -12,4 +11,6 @@ "**/zig-cache": true, "**/zig-out": true, }, + + "git.detectSubmodulesLimit": 0, } diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 7b1391b..da242fd 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -3,13 +3,22 @@ "tasks": [ { - "label": "Build Ona", + "label": "Build", "type": "shell", "command": "zig build", "group": { "kind": "build", "isDefault": true } + }, + { + "label": "Test", + "type": "shell", + "command": "zig build test", + "group": { + "kind": "test", + "isDefault": true + } } ] }