-
Notifications
You must be signed in to change notification settings - Fork 0
/
.devcontainer.json
51 lines (51 loc) · 1.67 KB
/
.devcontainer.json
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
{
"name": "Mini Cars Dev Container",
"build": {
"dockerfile": "Dockerfile.dev"
},
"workspaceMount": "source=${localWorkspaceFolder},target=/home/hogsmeade/src/rc-brain,type=bind",
"workspaceFolder": "/home/hogsmeade/src/rc-brain",
"runArgs": [
"--rm",
"--network=host",
"--ipc=host",
"--privileged"
],
"containerEnv": {
"DISPLAY": "${localEnv:DISPLAY}"
},
"mounts": [
"source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind,consistency=cached"
],
"customizations": {
"vscode": {
"settings": {
"terminal.integrated.defaultProfile.linux": "bash",
"terminal.integrated.profiles.linux": {
"bash": {
"path": "/bin/bash"
}
},
"[cpp]": {
"editor.defaultFormatter": "xaver.clang-format"
},
"[python]": {
"diffEditor.ignoreTrimWhitespace": false,
"gitlens.codeLens.symbolScopes": [
"!Module"
],
"editor.formatOnType": true,
"editor.wordBasedSuggestions": "off",
"editor.defaultFormatter": "ms-python.black-formatter"
}
},
"extensions": [
"ms-iot.vscode-ros",
"ms-vscode.cpptools-extension-pack",
"ms-python.black-formatter",
"xaver.clang-format"
]
}
},
"postStartCommand": "git config --global --add safe.directory ${containerWorkspaceFolder}"
}