Use openFiles instead of first-run-notice

This commit is contained in:
emisargent 2023-02-24 17:52:05 +00:00
parent 5cdb646f28
commit dc003f3e04

View file

@ -11,22 +11,16 @@
"settings": { "settings": {
// Settings for the python extension. // Settings for the python extension.
"python.defaultInterpreterPath": "${workspaceFolder}/.venv", "python.defaultInterpreterPath": "${workspaceFolder}/.venv",
"python.terminal.activateEnvInCurrentTerminal": true, "python.terminal.activateEnvInCurrentTerminal": true
"python.linting.enabled": true, }
"python.linting.pylintEnabled": true },
"codespaces": {
}, "openFiles": [
// Installs extensions on container create. ".devcontainer/welcome-message.txt"
"extensions": [
"ms-python.python",
"ms-python.vscode-pylance"
] ]
} }
}, },
// 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. // Runs the initial setup commands after the container is created.
"postCreateCommand": "sudo chmod +x .devcontainer/post-create-command.sh && .devcontainer/post-create-command.sh" "postCreateCommand": "sudo chmod +x .devcontainer/post-create-command.sh && .devcontainer/post-create-command.sh"
} }