Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev Container configuration file already exists but is not being used #121

Open
pelesh opened this issue Dec 16, 2023 · 1 comment
Open
Assignees
Labels
bug Something isn't working documentation Improvements or additions to documentation

Comments

@pelesh
Copy link
Collaborator

pelesh commented Dec 16, 2023

Following the instructions on how to set up a dev container to develop ReSolve documentation, I ran out into an issue where vscode pops up a dialog box saying that json configuration file already exists for the dev container, but refuses to use it (there are 2 options none of which will run existing configuration). This issue seems to be a documented bug in vscode.

The workaround that get me pass this point was to add line like this

"initializeCommand": "ls"

at the end of devcontainer.json file. I don't know how and why, but it worked :P.

@pelesh pelesh added bug Something isn't working documentation Improvements or additions to documentation labels Dec 16, 2023
@cameronrutherford
Copy link
Collaborator

I was able to repro something similar on my Windows box for a different project and it occured to me that my current workaround is to Open Folder outside of a container first.

Maybe this is a feature, not a bug per the issue you linked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

3 participants