Skip to content

[Bug]: Unable to popen Github Copilot Chat window #6520

Closed as not planned
Closed as not planned

Description

@skerit

Is there an existing issue for this?

  • I have searched the existing issues

OS/Web Information

  • Web Browser: Chromium
  • Local OS: Linux
  • Remote OS: Linux
  • Remote Architecture: AMD64
  • code-server --version: 4.18.0 d7a2b49 with Code 1.83.1

Steps to Reproduce

  1. open code-server
  2. install copilot extension from VSIX (v1.135)
  3. try to open the chat

Expected

The inline chat window should open

Actual

Absolutely nothing

Logs

[Extension Host] rejected promise not handled within 1 second: Error: command 'workbench.panel.chat.view.copilot.focus' not found
[Extension Host] stack trace: Error: command 'workbench.panel.chat.view.copilot.focus' not found
ERR command 'workbench.panel.chat.view.copilot.focus' not found: Error: command 'workbench.panel.chat.view.copilot.focus' not found
    at y.n (/stable-d7a2b4936af1bfd80cb96f2567af68badc2325e3/static/out/vs/workbench/workbench.web.main.js:1557:12276)
    at y.executeCommand (/stable-d7a2b4936af1bfd80cb96f2567af68badc2325e3/static/out/vs/workbench/workbench.web.main.js:1557:12205)

Screenshot/Video

image

Does this issue happen in VS Code or GitHub Codespaces?

  • I cannot reproduce this in VS Code.
  • I cannot reproduce this in GitHub Codespaces.

Are you accessing code-server over a secure context?

  • I am using a secure context.

Notes

No response

Activity

  1. added
    bugSomething isn't working
    triageThis issue needs to be triaged by a maintainer
    on Nov 8, 2023
  2. AliceSync commented on Nov 10, 2023

    @AliceSync

    I encountered the same problem, but I can't even install it. How did you manage to install the chat?

  3. skerit commented on Nov 10, 2023

    @skerit
    Author

    I encountered the same problem, but I can't even install it. How did you manage to install the chat?

    I installed the latest Copilot VSIX file from the marketplace.

  4. benz0li commented on Nov 13, 2023

    @benz0li
    Contributor

    The use of this extension is restricted to Microsoft VS Code.

  5. code-asher commented on Nov 13, 2023

    @code-asher
    Member

    I have seen elsewhere that the latest Copilot requires a newer version of Code than code-server currently contains so installing an older version might work (although in this case you should have gotten an error during installation so perhaps not applicable here), and remember that the Copilot extension also requires their separate chat extension to be installed, but unfortunately we are not able to recommend anything since as @benz0li mentioned using the vsix in non-VS Code products like code-server seems to be a violation of Microsoft's terms of service for their marketplace and maybe a violation of the extension license as well (I have not read that one).

    Some discussions asking Microsoft to publish the extension on Open VSX:

    https://github.com/search?q=org%3Acommunity+copilot+openvsx&type=discussions

  6. aghasemi commented on Sep 27, 2024

    @aghasemi

    Hi. Thanks for the clarification regarding CoPilot. Is there any alternative that can be used with code-server?

  7. lennardv2 commented on Sep 17, 2025

    @lennardv2

    I created this https://github.com/sunpix/howto-install-copilot-in-code-server

    installs latest compatible:

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingtriageThis issue needs to be triaged by a maintainer

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions