I'm setting up a codespace, and I have a basic .devcontainer configured. I would like…
- User
I'm setting up a codespace, and I have a basic .devcontainer configured. I would like to, by default, have the visual studio python tools installed. How can I configure this, what files do I need and where should they live and what should they be called and what should it look like ?
Assistant
To have the Python extension installed by default in your codespace, you'll need to add a devcontainer.json file. This file should contain:
json{ "postCreateCommand": "code --install-extension ms-python.python", "image": "ubuntu:20.04" // or whatever image you want to use }
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.