Update VS code environment and configuration

This commit is contained in:
kayomn 2022-09-09 22:54:13 +01:00
parent 94b573b2e5
commit 5671b22257
3 changed files with 28 additions and 2 deletions

16
.vscode/launch.json vendored Normal file
View File

@ -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",
}
]
}

View File

@ -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,
}

11
.vscode/tasks.json vendored
View File

@ -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
}
}
]
}