posit-dev / positron

Positron, a next-generation data science IDE
https://positron.posit.co
Other
2.85k stars 91 forks source link

Support Github Copilot Chat #2010

Open jmcphers opened 10 months ago

jmcphers commented 10 months ago

Today, Github Copilot works in Positron, but Github Copilot Chat does not. The Chat functionality is provided by a separate Copilot Chat extension as described here:

https://docs.github.com/en/copilot/github-copilot-chat/using-github-copilot-chat-in-your-ide

As far as I can tell from my initial investigation, there is no reason the Copilot Chat extension couldn't work in Positron; it uses fairly new APIs that were developed specifically for its use, but they're all present in the open source version of VS Code.

In Positron, the chat window comes up empty:

image

The problem seems to be (from Developer Tools) that the copilot chat provider isn't being registered for some reason.

ERR Unknown provider: copilot: Error: Unknown provider: copilot
yinghawl commented 1 week ago

Any update on this request?

juliasilge commented 1 week ago

Not currently, but you can check out GitHub Copilot alternatives that provide chat support in https://github.com/posit-dev/positron/discussions/3871.