Comments (4)
I think an open
command in the @devcontainers/cli
could provide support for many editors, like vscode or intellij. The preferred editor could be configured by the user in some kind of configuration file (as we do for git in the ~/.gitconfig
).
Initially, it could support vscode only. More editors could be added over time. Or even an generic implementation could also be added so that any editor can plug-in without having to be supported by @devcontainers/cli
before.
from cli.
There's several hacks using code --folder-uri
to make your own open
command. For example, see my bash function implementation.
This definitely should have better support. Until I found that hack, I stayed on the version provided by the vscode-remote extension, which is rather buggy to say the least.
from cli.
We want to keep this new CLI independent of VS Code, so an open
command would need a way for all editors to participate. Maybe an EDITOR_DEVCONTAINER
env variable could be used similarly to the commonly used EDITOR
env variable, but I'm not sure having an open
command just to invoke EDITOR_DEVCONTAINER
would then add much value.
from cli.
That seems to make sense... when I looked at other proposed solutions to make VS Code & the CLI easier I got the impression that the image IDs might not match what VS Code's "Open Folder in Container..." would do. Do you think that is un-warranted? I have not confirmed if it was the case or not.
Also, did y'all have thoughts on where devcontainer open
should land? Maybe some VS Code CLI?
from cli.
Related Issues (20)
- Option `--build-no-cache` appears to use cache HOT 3
- git worktree support HOT 2
- Full support to NODE_EXTRA_CA_CERTS is coming to Electron HOT 1
- Opening interactive shells via exec subcommand is unresponsive HOT 5
- Dockerfile for runing devcontainer/cli
- `docker-compose.devcontainer.containerFeatures.TIMESTAMP.yml` race conditions
- Start devcontainer (up) from already built image HOT 2
- Dependency confusion attack from looking for manifest in docker.io first HOT 2
- Can't publish a feature with private AWS ECR repository as a registry HOT 2
- `overrideCommand` option does not correctly overwrite entrypoint
- Dynamic Environment Variable HOT 1
- Evaluating Local Environment Variables With Prebuilds HOT 4
- [![Test Build Processes](https://github.com/wexkalebur/wordpress-develop/actions/workflows/test-build-processes.yml/badge.svg?branch=trunk)](https://github.com/wexkalebur/wordpress-develop/actions/workflows/test-build-processes.yml)
- Support updating lifecycle scripts on existing containers HOT 2
- Unable to build multi-platform images HOT 5
- Incorrect field used as mapping key for deserialization of 'mounts' in devcontainer.json HOT 1
- Image and feature digest pinning syntax inconsistency HOT 2
- Should `devcontainers/cli` uses `docker compose` always instead `docker-compose`? HOT 3
- Feature request: `@devcontainers/cli` as a docker CLI plugin
- Ability to provide version to publish HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.