Skip to content

Commit

Permalink
(PROJECT) add .vscode/settings.json,launch.json
Browse files Browse the repository at this point in the history
  • Loading branch information
jtmoon79 committed Nov 24, 2024
1 parent 6a36c59 commit 8ce35c2
Show file tree
Hide file tree
Showing 3 changed files with 59 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
*.venv*/
.virtualenv/
/.idea/
/.vscode/
/tmp/
/valgrind/
tools/compare-current-and-expected_current.stderr
Expand Down
47 changes: 47 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -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}"
}
]
}
12 changes: 12 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -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"
}

0 comments on commit 8ce35c2

Please sign in to comment.