Skip to content

Agent Host/Window: Devcontainer settings in .devcontainer/<subfolder>/devcontainer.json are not recognised. #341012

Open

Agent suggestions

Public preview

Description

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.141.0
  • OS Version: Windows 11

Steps to Reproduce:

  1. Create a project with devcontainer settings in .devcontainer/<some_subfolder>/devcontainer.json (I have this in a folder in WSL Ubuntu)
  2. In the "Agents Window", enable the devcontainer support in settings:
    "chat.remoteAgentHostsEnabled": true,
    "chat.agentHost.devContainer.enabled": true,
  3. Notice the lack of the 'Use Remote Host/Dev Container' selection box.

The subfolder structure for devcontainer configuration are supported by the spec: https://containers.dev/implementors/spec/#devcontainerjson
Also, regular VSCode with the devcontainer extension (so outside the agents window) has no problem recognising the devcontainer settings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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