Use openFiles instead of first-run-notice
This commit is contained in:
parent
5cdb646f28
commit
dc003f3e04
1 changed files with 6 additions and 12 deletions
|
|
@ -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"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue