From ded83fff66292b932914a8030c35f42c45346c02 Mon Sep 17 00:00:00 2001 From: Christopher Book Date: Wed, 31 Jul 2024 14:54:02 +0000 Subject: [PATCH] Add file extensions for vscode and jupyterlab (#111) --- src/jupyter/.devcontainer.json | 23 +++++++++++++++++++++++ src/vscode/.devcontainer.json | 24 ++++++++++++++++++++++++ 2 files changed, 47 insertions(+) diff --git a/src/jupyter/.devcontainer.json b/src/jupyter/.devcontainer.json index e4708f1..c92888f 100644 --- a/src/jupyter/.devcontainer.json +++ b/src/jupyter/.devcontainer.json @@ -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}" } diff --git a/src/vscode/.devcontainer.json b/src/vscode/.devcontainer.json index 405c263..2814e18 100644 --- a/src/vscode/.devcontainer.json +++ b/src/vscode/.devcontainer.json @@ -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}" }