Enabling `devcontainer` does not add `.devcontainer.json`
See original GitHub issueSetting the devContainer: true,
on the project works and creates entries in .gitignore
, files.json
, but the actual .devcontainer.json
isn’t created.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Add to devcontainer.json function not work #6173 - GitHub
Click the gearwhell on the right of install/uninstall button. Cick Add to devcontainer.json. Does this issue occur when you try this locally?:
Read more >Developing inside a Container - Visual Studio Code
After picking the starting point for your container, VS Code will add the dev container configuration files to your project ( .devcontainer/devcontainer.json )....
Read more >Supporting tools and services - Development containers
This page outlines tools and services that currently support the development container specification, including the devcontainer.json format.
Read more >Setting up a VS Code Dev Container - Ben Selby
For example, you could base it on node:latest and add some extra packages if you wish. A devcontainer.json . This helps configure the...
Read more >Developing inside a Container - vscode-docs-arc
After picking the starting point for your container, VS Code will add the dev container configuration files to your project ( .devcontainer/devcontainer.json )....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
GitHub stale bot considered harmful
This works:
I guess when setting
devContainer: true
on the project, it doesn’t set any defaults and then because of that, the file is not rendered, as it’s set toomitEmpty: true
.https://github.com/projen/projen/blob/e5899dd04a575209424a08fe90bde99e07ac6c7b/src/vscode/devcontainer.ts#L72