diff options
author | Jonas Zohren <git-pbkyr@jzohren.de> | 2022-02-17 11:14:50 +0000 |
---|---|---|
committer | Jonas Zohren <git-pbkyr@jzohren.de> | 2022-02-17 11:14:50 +0000 |
commit | bcd6c0bf532930b31873431ebdf601f4699d7d69 (patch) | |
tree | 889f3cf00e5a0c737a22d27fa3b52775a9b674f5 | |
parent | c66866d89092cde7c9aa834e442de1a13a1a680c (diff) | |
download | conduit-bcd6c0bf532930b31873431ebdf601f4699d7d69.zip |
feat: Provide sane defaults for vscode developing
This includes some extensions and a debug profile
-rw-r--r-- | .vscode/extensions.json | 11 | ||||
-rw-r--r-- | .vscode/launch.json | 35 | ||||
-rw-r--r-- | .vscode/settings.json | 2 |
3 files changed, 47 insertions, 1 deletions
diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 0000000..7963e9d --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,11 @@ +{ + "recommendations": [ + "matklad.rust-analyzer", + "bungcip.better-toml", + "ms-azuretools.vscode-docker", + "eamodio.gitlens", + "serayuzgur.crates", + "vadimcn.vscode-lldb", + "timonwong.shellcheck" + ] +}
\ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..da52160 --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,35 @@ +{ + // 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 conduit", + "sourceLanguages": ["rust"], + "cargo": { + "args": [ + "build", + "--bin=conduit", + "--package=conduit" + ], + "filter": { + "name": "conduit", + "kind": "bin" + } + }, + "args": [], + "env": { + "RUST_BACKTRACE": "1", + "CONDUIT_CONFIG": "", + "CONDUIT_SERVER_NAME": "localhost", + "CONDUIT_DATABASE_PATH": "/tmp", + "CONDUIT_ADDRESS": "0.0.0.0", + "CONDUIT_PORT": "6167" + }, + "cwd": "${workspaceFolder}" + } + ] +}
\ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json index c3f6605..95294d4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,3 +1,3 @@ { - "rust-analyzer.procMacro.enable": true + "rust-analyzer.procMacro.enable": true, }
\ No newline at end of file |