From f65f45fc9aac6db09922994f7677bd2979053b75 Mon Sep 17 00:00:00 2001 From: Florian RICHER Date: Wed, 11 Dec 2024 19:30:36 +0100 Subject: [PATCH] Add configuration for vscode --- .vscode/extensions.json | 7 +++++++ .vscode/launch.json | 45 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 .vscode/extensions.json create mode 100644 .vscode/launch.json diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..a6bd770 --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + "recommendations": [ + "pinage404.rust-extension-pack", + "vadimcn.vscode-lldb", + "jnoortheen.nix-ide" + ] +} \ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..c0caf03 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,45 @@ +{ + // 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": [ + { + "type": "lldb", + "request": "launch", + "name": "Debug executable 'rust_vulkan_test'", + "cargo": { + "args": [ + "build", + "--bin=rust_vulkan_test", + "--package=rust_vulkan_test" + ], + "filter": { + "name": "rust_vulkan_test", + "kind": "bin" + } + }, + "args": [], + "cwd": "${workspaceFolder}" + }, + { + "type": "lldb", + "request": "launch", + "name": "Debug unit tests in executable 'rust_vulkan_test'", + "cargo": { + "args": [ + "test", + "--no-run", + "--bin=rust_vulkan_test", + "--package=rust_vulkan_test" + ], + "filter": { + "name": "rust_vulkan_test", + "kind": "bin" + } + }, + "args": [], + "cwd": "${workspaceFolder}" + } + ] +} \ No newline at end of file