From dc003f3e041c33c3537adca6b1cdb45a969038d8 Mon Sep 17 00:00:00 2001 From: emisargent <55098699+emisargent@users.noreply.github.com> Date: Fri, 24 Feb 2023 17:52:05 +0000 Subject: [PATCH] Use openFiles instead of first-run-notice --- .devcontainer/devcontainer.json | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 50e14c9c..d78ede5f 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -11,22 +11,16 @@ "settings": { // Settings for the python extension. "python.defaultInterpreterPath": "${workspaceFolder}/.venv", - "python.terminal.activateEnvInCurrentTerminal": true, - "python.linting.enabled": true, - "python.linting.pylintEnabled": true - - }, - // Installs extensions on container create. - "extensions": [ - "ms-python.python", - "ms-python.vscode-pylance" + "python.terminal.activateEnvInCurrentTerminal": true + } + }, + "codespaces": { + "openFiles": [ + ".devcontainer/welcome-message.txt" ] } }, - // Displays a custom welcome message. - "onCreateCommand": "sudo cp .devcontainer/welcome-message.txt /usr/local/etc/vscode-dev-containers/first-run-notice.txt", - // Runs the initial setup commands after the container is created. "postCreateCommand": "sudo chmod +x .devcontainer/post-create-command.sh && .devcontainer/post-create-command.sh" }