diff --git a/.devcontainer/scipy2023/devcontainer.json b/.devcontainer/scipy2023/devcontainer.json index 2cd98bcc..2377a332 100644 --- a/.devcontainer/scipy2023/devcontainer.json +++ b/.devcontainer/scipy2023/devcontainer.json @@ -4,7 +4,8 @@ "context": "../../conda" }, "postCreateCommand": { - "jupyterlab": "mkdir /home/jovyan/.jupyter && cp .devcontainer/scipy2023/jupyter_lab_config.py /home/jovyan/.jupyter/jupyter_lab_config.py" + "jupyterlab": "mkdir /home/jovyan/.jupyter && cp ${localWorkspaceFolder}/jupyter_lab_config.py /home/jovyan/.jupyter/jupyter_lab_config.py", + "vscode": "mkdir ${containerWorkspaceFolder}/.vscode && cp ${localWorkspaceFolder}/tasks.json ${containerWorkspaceFolder}/.vscode/tasks.json" }, "hostRequirements": { "cpus": 2 diff --git a/.devcontainer/scipy2023/tasks.json b/.devcontainer/scipy2023/tasks.json new file mode 100644 index 00000000..d1e345ae --- /dev/null +++ b/.devcontainer/scipy2023/tasks.json @@ -0,0 +1,18 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "jupyterlab", + "type": "shell", + "command": "jupyter lab", + "presentation": { + "reveal": "always" + }, + "runOptions": { + "runOn": "folderOpen" + } + } + ] +} \ No newline at end of file