-
Notifications
You must be signed in to change notification settings - Fork 20
Expand file tree
/
Copy pathdevcontainer.json
More file actions
56 lines (50 loc) · 2.17 KB
/
devcontainer.json
File metadata and controls
56 lines (50 loc) · 2.17 KB
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
{
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/rocker-org/devcontainer-features/r-apt:0": {
// See: https://github.com/rocker-org/devcontainer-features/blob/main/src/r-apt/README.md#options
//
// Use RSupport (incl languageserver and httpgd) spand bspm
"vscodeRSupport": "full",
"installBspm": true,
//
// But turn off Radian (R console), devtools, extre Markdown support and debugger
// You can add each of these individually or jointly. See the table at
// https://github.com/rocker-org/devcontainer-features/blob/main/src/r-apt/README.md#options
"installRadian": false,
"installDevTools": false,
"installRMarkdown": false,
"installVscDebugger": false,
"useTesting": false
}
},
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
// use httpgd as the plotting device
"r.plot.useHttpgd": true,
//
// turn these two on with Radian
//"r.rterm.linux": "/usr/local/bin/radian",
//"r.bracketedPaste": true,
//
// some guidance for the editor on R files
"[r]": {
"editor.wordSeparators": "`~!@#%$^&*()-=+[{]}\\|;:'\",<>/?"
},
// see https://stackoverflow.com/questions/68858490/disable-r-linting-in-vscode
"r.lsp.diagnostics": false
}
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [ 8787 ],
//
// Use 'postCreateCommand' to run commands after the container is created.
// "postCreateCommand": "R -q -e 'install.packages(\"tidyverse\")'",
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
// "remoteUser": "root"
}