From 3e48f54ca5cd970c927e2723b40dc998bd8038f6 Mon Sep 17 00:00:00 2001 From: Jason Williams Date: Mon, 10 Feb 2020 22:54:37 +0000 Subject: [PATCH] rust-lldb is no longer needed, sourcemaps should move into launch.json, rust-analyzer is now in the marketplace --- .devcontainer/devcontainer.json | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index c01a0626ba..014e6c2280 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -26,21 +26,13 @@ // not in base container images. You can also update this to an specific shell to ensure VS Code // uses the right one for terminals and tasks. For example, /bin/bash (or /bin/ash for Alpine). "terminal.integrated.shell.linux": null, - // https://github.com/vadimcn/vscode-lldb/issues/204 - // https://users.rust-lang.org/t/solved-how-to-step-into-std-source-code-when-debugging-in-vs-code/25319/5 - "lldb.executable": "rust-lldb", - "lldb.launch.sourceLanguages": ["rust"], - // CodeLLDB sourceMap supports Globs! - // https://github.com/vadimcn/vscode-lldb/blob/master/CHANGELOG.md#070 - "lldb.launch.sourceMap": { - "/rustc/*/": "/usr/local/rustup/toolchains/stable-x86_64-unknown-linux-gnu/lib/rustlib/src/rust" - } + "lldb.launch.sourceLanguages": ["rust"] }, // Uncomment the next line if you want to publish any ports. // "appPort": [], // Uncomment the next line to run commands after the container is created - for example installing git. // "postCreateCommand": "apt-get update && apt-get install -y git", // Add the IDs of extensions you want installed when the container is created in the array below. - "extensions": ["vadimcn.vscode-lldb", "rust-lang.rust"], + "extensions": ["vadimcn.vscode-lldb", "matklad.rust-analyzer"], "postCreateCommand": "rustup toolchain install stable && rustup component add rls rust-src rust-analysis --toolchain stable" }