rust-lldb is no longer needed, sourcemaps should move into launch.json, rust-analyzer is now in the marketplace
// 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"
}
