From 8ce35c203506c1930105b2b158adca8075b55da7 Mon Sep 17 00:00:00 2001 From: jtmoon79 <815261+jtmoon79@users.noreply.github.com> Date: Sun, 24 Nov 2024 12:08:14 -0800 Subject: [PATCH] (PROJECT) add .vscode/settings.json,launch.json --- .gitignore | 1 - .vscode/launch.json | 47 +++++++++++++++++++++++++++++++++++++++++++ .vscode/settings.json | 12 +++++++++++ 3 files changed, 59 insertions(+), 1 deletion(-) create mode 100644 .vscode/launch.json create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index f2aa6731..53489dbe 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,6 @@ *.venv*/ .virtualenv/ /.idea/ -/.vscode/ /tmp/ /valgrind/ tools/compare-current-and-expected_current.stderr diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 00000000..b9c18043 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,47 @@ +{ + // 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 's4'", + "cargo": { + "args": [ + "build", + "--bin=s4", + "--package=super_speedy_syslog_searcher" + ], + "filter": { + "name": "s4", + "kind": "bin" + } + }, + "args": [ + "./logs/other/tests/gen-99999-1-Motley_Crue.log", + ], + "cwd": "${workspaceFolder}" + }, + { + "type": "lldb", + "request": "launch", + "name": "Debug unit tests in executable 's4'", + "cargo": { + "args": [ + "test", + "--no-run", + "--bin=s4", + "--package=super_speedy_syslog_searcher" + ], + "filter": { + "name": "s4", + "kind": "bin" + } + }, + "args": [], + "cwd": "${workspaceFolder}" + } + ] +} \ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..707433a3 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,12 @@ +{ + "rust-analyzer.linkedProjects": [ + "./Cargo.toml", + ], + "rust-analyzer.showUnlinkedFileNotification": false, + "explorer.excludeGitIgnore": true, + "rust-analyzer.cargo.cfgs": { + "debug_assertions": null, + "miri": null + }, + "files.eol": "\n" +} \ No newline at end of file