Skip to content

Commit 1ecbc8d

Browse files
committed
update editor settings
1 parent 30bed32 commit 1ecbc8d

File tree

1 file changed

+30
-16
lines changed

1 file changed

+30
-16
lines changed

.devcontainer/devcontainer.json

Lines changed: 30 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -10,22 +10,36 @@
1010
"vscode": {
1111
"settings": {
1212
"git.ignoredRepositories": ["."],
13-
"files.exclude": {
14-
"**/.devcontainer": true,
15-
"**/.git": true,
16-
"**/.github": true,
17-
"**/.gitignore": true,
18-
"**/.gitpod.Dockerfile": true,
19-
"**/.gitpod.yml": true,
20-
"**/.markdownlint-cli2.yaml": true,
21-
"**/.pre-commit-config.yaml": true,
22-
"**/Dockerfile": true,
23-
"**/mkdocs.yml": true,
24-
"**/scripts": true
25-
},
26-
"editor.tabSize": 8,
27-
"editor.indentSize": 4,
28-
"editor.detectIndentation": false,
13+
"files.exclude": {
14+
"**/.devcontainer": true,
15+
"**/.git": true,
16+
"**/.github": true,
17+
"**/.gitignore": true,
18+
"**/.gitpod.Dockerfile": true,
19+
"**/.gitpod.yml": true,
20+
"**/.markdownlint-cli2.yaml": true,
21+
"**/.pre-commit-config.yaml": true,
22+
"**/Dockerfile": true,
23+
"**/mkdocs.yml": true,
24+
"**/scripts": true
25+
},
26+
"[c]": {
27+
"editor.indentSize": 4,
28+
"editor.tabSize": 8,
29+
"editor.insertSpaces": true,
30+
"editor.detectIndentation": false
31+
},
32+
"[r]": {
33+
"editor.indentSize": 4,
34+
"editor.tabSize": 8,
35+
"editor.insertSpaces": true,
36+
"editor.detectIndentation": false
37+
},
38+
"editor.formatOnSave": false,
39+
"editor.renderWhitespace": "all",
40+
"editor.minimap.autohide": "mouseover",
41+
"diffEditor.ignoreTrimWhitespace": false,
42+
"files.trimTrailingWhitespace": true,
2943
"r.lsp.diagnostics": false,
3044
"r.plot.useHttpgd": true,
3145
"r.rpath.linux": "/usr/bin/R",

0 commit comments

Comments
 (0)