VSCodium / vscodium

binary releases of VS Code without MS branding/telemetry/licensing
https://vscodium.com
MIT License
24.28k stars 1.02k forks source link

GitHub Copilot, Copilot Chat and Copilot Labs Extensions Not Working in VSCodium #1546

Open Tushar49 opened 1 year ago

Tushar49 commented 1 year ago

Describe the bug I am having trouble integrating GitHub Copilot and Copilot Labs extensions with VSCodium. Despite having access to GitHub Copilot X, I am unable to get it working with VSCodium. The Copilot Labs extension isn't working and the Copilot chat doesn't show up in the activity bar.

Please confirm that you have searched existing issues in the repo. Yes, I have searched existing issues.

Please confirm that you have checked the FAQs. Yes, I have checked the FAQs.

VSCodium version Version: 1.79.0 (system setup) Release: 23159 Commit: 4be06ce527f2ea3b9b3096ac4b4c5aa11c64e7a4 Date: 2023-06-08T21:27:43.604Z Electron: 22.3.10 Chromium: 108.0.5359.215 Node.js: 16.17.1 V8: 10.8.168.25-electron.0 OS: Windows_NT x64 10.0.22621

To Reproduce Steps to reproduce the behavior:

  1. Install VSCodium and the GitHub Copilot extension.
  2. Attempt to authenticate the GitHub Copilot extension.
  3. Receive error: "Invalid copilot token: missing token: 404" and "GitHub Copilot could not connect to server. Extension activation failed: "User not authorized".
  4. Install and attempt to authenticate the Copilot Labs extension.
  5. Receive error: "Something went wrong. Please check that the main GitHub Copilot extension is installed and running and try again." and "Something went wrong checking access: Authentication error: NotAuthorized".

Expected behavior I expect to be able to use GitHub Copilot and Copilot Labs extensions with VSCodium without any issues.

Screenshots (If applicable, add screenshots to help explain your problem.)

Desktop (please complete the following information):

Additional context I have tried several troubleshooting steps, including signing in and out of GitHub Copilot, editing the product.json file, and generating a new personal access token. None of these steps have resolved the issue.

zeroaddresss commented 2 months ago

As far as I know you have to use the VS code marketplace. The extension may have been updated, you might have to wait for a VSCodium update.

@TimTheBig you mean this marketplace or the built-in extensions marketplace in VSCodium UI?

TimTheBig commented 2 months ago

You have to modify your product.json to use the VSCode marketplace, then you should be able to install the extensions right from the UI. This guide worked for me: VSCode Gallery In VSCodium. You still need the product.json "extensionEnabledApiProposals" tweaks.

daiyam commented 2 months ago

@TimTheBig Which version are you using? (VSCodium and Copilot)

TimTheBig commented 2 months ago

VSCodium:

Version: 1.88.1
Release: 24104
Commit: 0d01a72525276e5e3771fe5851b9c83de0de1e2b
Date: 2024-04-13T01:43:30.924Z
Electron: 28.2.8
ElectronBuildId: undefined
Chromium: 120.0.6099.291
Node.js: 18.18.2
V8: 12.0.267.19-electron.0
OS: Darwin arm64 23.4.0

GitHub Copilot: v1.196.0 GitHub Copilot Chat: v0.14.1

kasperk81 commented 1 month ago

yelp! is there a script to patch the whole thing without manual tweaks? argument1: path to product.json, argumetn2: path to /support product.json etc.

spent several hours to make this work but failing miserably. installed from vscode marketplace (https://github.com/VSCodium/vscodium/issues/1546#issuecomment-2068291176):

image
TimTheBig commented 1 month ago

yelp! is there a script to patch the whole thing without manual tweaks? argument1: path to product.json, argumetn2: path to /support product.json etc.

spent several hours to make this work but failing miserably. installed from vscode marketplace (#1546 (comment)):

What version of copilot-chat is the store page showing beside the name?