Skip to content

Can VS Code API Replace Copilot Chat Sidebar with Custom View? #2767

Discussion options

You must be logged in to vote

Hi @John0079 ,

I don't think you could replace the Copilot Chat sidebar the way you are describing, unless the Copilot Chat extension itself allows such customization, and provide API for that. Instead, if you want to create your own Copilot like extension, you simply create your own Sidebar (using viewsContainers contribution point) with your own webview created with registerWebviewViewProvider API, as you already tried.

On the other hand, if what you are asking for is to be able to put your custom Sidebar view in the Secondary Side Bar, like GitHub Copilot Chat does, there is no API available yet, but someone else already opened an issue in the VS Code repo, so you could upvote (microso…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@John0079
Comment options

Answer selected by alefragnani
Comment options

You must be logged in to vote
1 reply
@alefragnani
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants