Skip to content

vscode /ide integration not working #332

@kheeMingC

Description

@kheeMingC

Expected Behavior

I should be able to say “read this file” while the file is open in VS Code, without needing to use @path-to-file to manually add it as context.

Actual Behavior

The CLI has no awareness of the currently opened file, and some tool calls through the /ide integration show failure or error messages:

DIAGNOSTICS  [{"filePaths":[]}]
└ Error: Could not connect to IDE extension. Make sure the Command Code extension is 
  installed and active.

Command Code Version

v0.25.6

Operating System

Windows

Terminal/IDE

vscode

Shell

git bash > zsh

Additional context

Before v0.25.2, running /ide in my environment would open 2 VS Code instances. Opening those VS Code instances had no effect on the integration between the command-code CLI and VS Code. Reloading the developer window also did not help.

As of v0.25.6, it no longer opens any new VS Code instances. However, the IDE integration still fails.

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