|
1 | 1 | {
|
2 | 2 | "name": "espressif-training",
|
3 |
| - "build": { |
4 |
| - "dockerfile": "Dockerfile", |
5 |
| - "args": { |
6 |
| - "NIGHTLY_VERSION": "nightly-2023-02-28" |
| 3 | + // Comment the image and use the build property to build the image from the |
| 4 | + // Dockerfile instead of downloading it from https://hub.docker.com/r/espressif/rust-std-training |
| 5 | + "image": "docker.io/espressif/rust-std-training", |
| 6 | + // "build": { |
| 7 | + // "dockerfile": "Dockerfile", |
| 8 | + // "args": { |
| 9 | + // "NIGHTLY_VERSION": "nightly-2023-02-28" |
| 10 | + // } |
| 11 | + // }, |
| 12 | + "customizations": { |
| 13 | + "vscode": { |
| 14 | + "settings": { |
| 15 | + "editor.formatOnPaste": true, |
| 16 | + "editor.formatOnSave": true, |
| 17 | + "editor.formatOnSaveMode": "modifications", |
| 18 | + "editor.formatOnType": true, |
| 19 | + "lldb.executable": "/usr/bin/lldb", |
| 20 | + "files.watcherExclude": { |
| 21 | + "**/target/**": true |
| 22 | + }, |
| 23 | + "rust-analyzer.checkOnSave.command": "clippy", |
| 24 | + "[rust]": { |
| 25 | + "editor.defaultFormatter": "rust-lang.rust-analyzer" |
| 26 | + } |
| 27 | + }, |
| 28 | + "extensions": [ |
| 29 | + "rust-lang.rust-analyzer", |
| 30 | + "tamasfe.even-better-toml", |
| 31 | + "vadimcn.vscode-lldb", |
| 32 | + "serayuzgur.crates", |
| 33 | + "mutantdino.resourcemonitor", |
| 34 | + "yzhang.markdown-all-in-one" |
| 35 | + ] |
7 | 36 | }
|
8 | 37 | },
|
9 |
| - "settings": { |
10 |
| - "editor.formatOnPaste": true, |
11 |
| - "editor.formatOnSave": true, |
12 |
| - "editor.formatOnSaveMode": "modifications", |
13 |
| - "editor.formatOnType": true, |
14 |
| - "lldb.executable": "/usr/bin/lldb", |
15 |
| - "files.watcherExclude": { |
16 |
| - "**/target/**": true |
17 |
| - }, |
18 |
| - "rust-analyzer.checkOnSave.command": "clippy", |
19 |
| - "[rust]": { |
20 |
| - "editor.defaultFormatter": "rust-lang.rust-analyzer" |
21 |
| - } |
22 |
| - }, |
23 |
| - "extensions": [ |
24 |
| - "rust-lang.rust-analyzer", |
25 |
| - "tamasfe.even-better-toml", |
26 |
| - "vadimcn.vscode-lldb", |
27 |
| - "serayuzgur.crates", |
28 |
| - "mutantdino.resourcemonitor", |
29 |
| - "yzhang.markdown-all-in-one" |
30 |
| - ], |
31 | 38 | "remoteUser": "esp",
|
32 | 39 | "workspaceMount": "source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached",
|
33 | 40 | "workspaceFolder": "/workspace"
|
|
0 commit comments