1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
"build": {
"dockerfile": "Dockerfile"
},
"remoteEnv": {
// required so that command line & analyzer can share builds
"RUSTC_BOOTSTRAP": "1",
// required so that command line & analyzer can share builds
"CARGO_INCREMENTAL": "1",
// only skills, hooks & AGENTS.md are committed to git
"VIBE_HOME": "${containerWorkspaceFolder}/.vibe",
},
"onCreateCommand": "rustup update",
"customizations": {
"vscode": {
"extensions": [
// rust
"rust-lang.rust-analyzer",
"andrewbrey.rust-test-highlight",
"fill-labs.dependi",
"vadimcn.vscode-lldb",
// configs, docs, etc.
"DavidAnson.vscode-markdownlint",
"tamasfe.even-better-toml"
],
"settings": {
// rust
"rust-analyzer": {
"cargo": {
// force BOOTSTRAP (always used for test builds - see https://github.com/rust-lang/rust-analyzer/issues/17149)
"extraEnv": {
"RUSTC_BOOTSTRAP": "1",
"CARGO_INCREMENTAL": "1"
},
// Prefer support for windows code right now - see https://users.rust-lang.org/t/how-to-have-completion-in-inactive-target-blocks-when-using-rust-analyzer/127208
"allTargets": true,
"features": "all"
},
"check": {
"extraEnv": {
"RUSTC_BOOTSTRAP": "1",
"CARGO_INCREMENTAL": "1"
},
"allTargets": true,
"features": "all"
},
"interpret.tests": true,
"testExplorer": true,
"runnables": {
"extraEnv": {
"RUSTC_BOOTSTRAP": "1",
"CARGO_INCREMENTAL": "1"
}
}
},
"[rust]": {
"editor.rulers": [
100
]
},
// docs
"markdownlint.config": {
"MD013": false, // let the editor wrap lines not the author
// multi-paragraph admonitions in mkdocs-material are considered indented code blocks
// see also ... for possible improvements via a plugin:
// - https://github.com/DavidAnson/vscode-markdownlint/issues/180
// - https://github.com/DavidAnson/vscode-markdownlint/issues/302
// - https://github.com/DavidAnson/markdownlint/issues/209
"MD046": false // {"style": "fenced"} leads to errors on codeblocks in admonitions
},
"[markdown]": {
"editor.tabSize": 2,
"editor.detectIndentation": false
},
// shell
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.profiles.linux": {
"bash": {
"path": "/usr/bin/bash"
}
}
}
}
}
}