Skip to content

Commit

Permalink
Add file extensions for vscode and jupyterlab (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbookg authored Jul 31, 2024
1 parent e91a16c commit ded83ff
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/jupyter/.devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,29 @@
"customizations": {
"workbench": {
"opens": {
"extensions": [
// Source
".ipynb",
".R",
".py",
// Documents
".md",
".html",
".latex",
".pdf",
// Images
".bmp",
".gif",
".jpeg",
".jpg",
".png",
".svg",
// Data
".csv",
".tsv",
".json",
".vl"
],
"fileUrlSuffix": "/lab/tree/{path}",
"folderUrlSuffix": "/lab/tree/{path}"
}
Expand Down
24 changes: 24 additions & 0 deletions src/vscode/.devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,30 @@
"customizations": {
"workbench": {
"opens": {
"extensions": [
// Source.
".c",
".cjs",
".cpp",
".go",
".java",
".js",
".mjs",
".php",
".scala",
".sh",
".ts",
// Documents
".md",
".html",
// Data
".csv",
".json",
".jsonc",
".tsv",
".xml",
".yml"
],
"fileUrlSuffix": "?file=/config/{path}",
"folderUrlSuffix": "?folder=/config/{path}"
}
Expand Down

0 comments on commit ded83ff

Please sign in to comment.