Closed bluesherpa closed 1 year ago
Hi 👋
Have you looked at microsoft/vscode-remote-try-cpp? that's a sample app for CPP. Wondering if that would be helpful.
That was perfect, thank you!
Any recommendation on where to post more general questions? I used the template to create a private repo, downloaded it, opened it in Visual Studio Code, and when prompted I chose to the option to Clone in Volume. It fails with an SSH error - permission denied. It's not using the keys and I'm not sure how to provide them. They are located in %HOME%/.ssh and also in the WSL2 ~/.ssh directory. The clone works when I run it manually in WSL2 (Ubuntu) and from Explorer using TortoisGit. I'm guessing I need to somehow provide the credentials to the container, but I also want to make sure the Git features work from within VS Code. Anyway, thanks in advance on recommendations where to post the question.
We have various repositories in https://github.com/devcontainers for different purposes, it would be nice if you would be able to identify (whether the issue is with the CLI/images/Features or something else) and open an issue accordingly.
If your question is more generic, then feel free to post it in https://github.com/orgs/devcontainers/discussions. We also have a community slack channel, if you're interested in joining, please look at https://github.com/orgs/devcontainers/discussions/3
Thanks again, this ticket can be closed.
Is there a working example of a project that uses the CPP template?
The following workflow would be really helpful:
The application would compile, run, and display "Hello World!".
The result would be:
Bonus points for including a description of the workflow for checking out the code, making changes to it, running and stepping through the code, and then saving changes back into Git.
Thanks in advance for any example you have or help creating something like this. I'm happy to create a Pull Request to add if that helps.
-Ed