Skip to content

Continue.dev activates Windows extension host even when VS Code is running in WSL #10433

@rdcoe

Description

@rdcoe

Before submitting your bug report

Relevant environment info

• Windows 11
• WSL: Ubuntu 22.04.5 LTS
• Continue.dev: latest version from Marketplace
• Ollama: installed and running inside WSL
• Workspace: located in WSL filesystem
• VS Code host: WSL (confirmed by UI)

Description

When VS Code is running in a WSL session, Continue.dev installs its extension files into the WSL extension host (~/.vscode-server/extensions), but the extension does not activate in WSL. Instead, Continue.dev activates in the Windows extension host, even though VS Code itself is fully running in WSL.

This results in Continue.dev reading and writing configuration files from the Windows filesystem (C:\Users<user>.continue\config.yaml) instead of the WSL filesystem (~/.continue/config.yaml), and the WSL copy of the extension remains dormant.

This behaviour is unique to Continue.dev — other extensions installed in WSL activate correctly.

To reproduce

  1. Launch VS Code from a Windows shortcut
  2. VS Code automatically reopens in WSL (because that was the last used host)
  3. Install Continue.dev while VS Code is running in WSL
  4. Observe:
    • Extension files are installed into ~/.vscode-server/extensions
    • Continue.dev does not activate in WSL
    • Continue.dev activates in the Windows extension host instead
  5. Continue.dev reads/writes:
    • Windows config: C:\Users<user>.continue\config.yaml
    • NOT the WSL config: ~/.continue/config.yaml
  6. Adding models via the Continue UI updates the Windows config file
  7. The WSL config file remains empty and unused
  8. Only when launching VS Code via '$ code .' from a WSL shell does Continue.dev finally activate in WSL and use the correct config.

Note that I actually uninstalled continue.dev from vscode, using the extension manager, before re-launching code from the command line in a WSL terminal (step 8); vscode only uninstalled the extension from the Windows filesystem, leaving the WSL filesystem with the extension still installed.

Expected Behaviour

  • When VS Code is running in a WSL session, Continue.dev should:
  • Activate in the WSL extension host
  • Read/write config from ~/.continue/config.yaml
  • Ignore the Windows extension host unless explicitly installed there
    This is how other WSL‑compatible extensions behave.

Impact

  • Incorrect config resolution
  • Incorrect model discovery
  • Workspace indexing fails or uses wrong paths
  • Embedding models not found
  • Model dropdown shows only Windows‑side models
  • Users cannot reliably configure Continue.dev in WSL
  • Behaviour differs from all other WSL‑aware extensions

Hypothesis
Continue.dev may be declaring itself as:
"extensionKind": ["ui"]

or otherwise binding activation to the UI host instead of the workspace host.
This would cause:

  • UI activation on Windows
  • Workspace activation never firing in WSL
  • Config resolution happening on the Windows side
  • WSL extension files being installed but unused

Workaround
Launching VS Code via:
$ code .

from a WSL shell forces the WSL extension host to become primary, and Continue.dev activates correctly.

Request
Please review Continue.dev’s:

  • extensionKind declaration
  • activation events
  • remote/WSL host detection
  • config path resolution logic
    The current behaviour suggests Continue.dev is not correctly activating in WSL even when VS Code is running entirely inside a WSL session.

Log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:configurationRelates to configuration optionside:vscodeRelates specifically to VS Code extensionkind:bugIndicates an unexpected problem or unintended behavioros:windowsHappening specifically on Windows

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions