mirror of
https://github.com/lldap/lldap.git
synced 2026-03-31 15:07:48 +01:00
misc: improve vscode devcontainer experience
This change enables a better IDE experience in vscode by doing two things: 1) Enables the rust-analyzer, which enables a bunch of features in vscode 2) Installs the needed deps for `cargo fmt` to work.
This commit is contained in:
@@ -1,8 +1,26 @@
|
||||
{
|
||||
"name": "LLDAP dev",
|
||||
"build": { "dockerfile": "Dockerfile" },
|
||||
"build": {
|
||||
"dockerfile": "Dockerfile"
|
||||
},
|
||||
"customizations": {
|
||||
"vscode": {
|
||||
"extensions": [
|
||||
"rust-lang.rust-analyzer"
|
||||
],
|
||||
"settings": {
|
||||
"rust-analyzer.linkedProjects": [
|
||||
"./Cargo.toml"
|
||||
]
|
||||
}
|
||||
}
|
||||
},
|
||||
"features": {
|
||||
"ghcr.io/devcontainers/features/rust:1": {}
|
||||
},
|
||||
"forwardPorts": [
|
||||
3890,
|
||||
17170
|
||||
]
|
||||
],
|
||||
"remoteUser": "lldapdev"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user