Skip to content

Commit ded83ff

Browse files
authored
Add file extensions for vscode and jupyterlab (#111)
1 parent e91a16c commit ded83ff

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

src/jupyter/.devcontainer.json

+23
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,29 @@
2828
"customizations": {
2929
"workbench": {
3030
"opens": {
31+
"extensions": [
32+
// Source
33+
".ipynb",
34+
".R",
35+
".py",
36+
// Documents
37+
".md",
38+
".html",
39+
".latex",
40+
".pdf",
41+
// Images
42+
".bmp",
43+
".gif",
44+
".jpeg",
45+
".jpg",
46+
".png",
47+
".svg",
48+
// Data
49+
".csv",
50+
".tsv",
51+
".json",
52+
".vl"
53+
],
3154
"fileUrlSuffix": "/lab/tree/{path}",
3255
"folderUrlSuffix": "/lab/tree/{path}"
3356
}

src/vscode/.devcontainer.json

+24
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,30 @@
3030
"customizations": {
3131
"workbench": {
3232
"opens": {
33+
"extensions": [
34+
// Source.
35+
".c",
36+
".cjs",
37+
".cpp",
38+
".go",
39+
".java",
40+
".js",
41+
".mjs",
42+
".php",
43+
".scala",
44+
".sh",
45+
".ts",
46+
// Documents
47+
".md",
48+
".html",
49+
// Data
50+
".csv",
51+
".json",
52+
".jsonc",
53+
".tsv",
54+
".xml",
55+
".yml"
56+
],
3357
"fileUrlSuffix": "?file=/config/{path}",
3458
"folderUrlSuffix": "?folder=/config/{path}"
3559
}

0 commit comments

Comments
 (0)