You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Unable to popen Github Copilot Chat window #6520
code-server --version: 4.18.0 d7a2b49 with Code 1.83.1
Steps to Reproduce
open code-server
install copilot extension from VSIX (v1.135)
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
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 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:
Activity
AliceSync commentedon Nov 10, 2023
I encountered the same problem, but I can't even install it. How did you manage to install the chat?
skerit commentedon Nov 10, 2023
I installed the latest Copilot VSIX file from the marketplace.
benz0li commentedon Nov 13, 2023
The use of this extension is restricted to Microsoft VS Code.
code-asher commentedon Nov 13, 2023
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
aghasemi commentedon Sep 27, 2024
Hi. Thanks for the clarification regarding CoPilot. Is there any alternative that can be used with code-server?
lennardv2 commentedon Sep 17, 2025
I created this https://github.com/sunpix/howto-install-copilot-in-code-server
installs latest compatible: