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

Open the folder in container via the Code command #4318

Closed
zackarydev opened this issue Jan 18, 2021 · 1 comment
Closed

Open the folder in container via the Code command #4318

zackarydev opened this issue Jan 18, 2021 · 1 comment
Labels
containers Issue in vscode-remote containers *duplicate Issue identified as a duplicate of another issue(s)

Comments

@zackarydev
Copy link

zackarydev commented Jan 18, 2021

There is a feature in VSCode to open the current folder/file in VSCode via the code command.

Ex: code . opens the current folder in VSCode.

The problem however is that doing so opens the folder in a regular VSCode window.

I'd like to either specify a command line option to automatically open the folder in a docker container if the folder contains a .devcontainer folder, or to automatically open the container without being prompted.

An example option could be code --in-container .

@github-actions github-actions bot added the containers Issue in vscode-remote containers label Jan 18, 2021
@chrmarti
Copy link
Contributor

Tracked with #2133.

@chrmarti chrmarti added the *duplicate Issue identified as a duplicate of another issue(s) label Jan 27, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Mar 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
containers Issue in vscode-remote containers *duplicate Issue identified as a duplicate of another issue(s)
Projects
None yet
Development

No branches or pull requests

2 participants