Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Add devcontainers/cli as an alternative to VS Code in development docs #2759

@MateoGreil

Description

@MateoGreil

The current development environment docs suggest that using the devcontainer requires Visual Studio Code. However, the same setup can be used with any editor via devcontainers/cli.

Proposal:
Add a short note in docs/development_environment.mdx to clarify that the devcontainer can be used standalone with the CLI, e.g.:

You can also use the devcontainer without VS Code by running:

devcontainer up --workspace-folder .
devcontainer exec --workspace-folder . hass -c config

This would help developers who prefer other editors but still want the pre-configured environment.

Why?

  • Avoids the need for custom docker-compose-dev.yaml setups (for the last 2 years, I was using this solution, before to discover Devcontainer CLI)
  • Makes the devcontainer more accessible to non-VS-Code users.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions