VS Code extension
Adds the @m365 chat participant, the models, the editor actions and the commit tools.
Or paste this in VS Code (Ctrl+P):
ext install m365-copilot-vscode.m365-copilot-vscodeDirect downloads of the M365 Copilot VS Code extension, the Chrome, Edge and Firefox extension and the Tampermonkey userscript, from the latest GitHub release.
Adds the @m365 chat participant, the models, the editor actions and the commit tools.
Or paste this in VS Code (Ctrl+P):
ext install m365-copilot-vscode.m365-copilot-vscodeCaptures your Copilot session token and keeps it renewed in VS Code. Recommended.
Chrome and Edge: unzip and load unpacked. Firefox: open the file.
The same capture as a Tampermonkey or Violentmonkey script, for browsers where you cannot load extensions.
The browser extension is not in the browser stores: you load the file from the release. It takes a minute.
m365-copilot-vscode-extension-chrome.zip into a folder you will keep (the browser reads it from there).chrome://extensions and turn on Developer mode.Same as Chrome, with m365-copilot-vscode-extension-edge.zip and edge://extensions.
.xpi file in Firefox (or drag it onto about:addons). When a release has no .xpi the Firefox button gives you the .zip instead.about:debugging → This Firefox → Load Temporary Add-on and choose the .zip (no need to unzip it). Firefox removes it when it closes.xpinstall.signatures.required to false in about:config, then about:addons → ⚙ → Install Add-on From File.Firefox 128 or later.
Open the Extensions view in VS Code, click the … menu and choose Install from VSIX…. Or from a terminal: code --install-extension m365-copilot-vscode-X.Y.Z.vsix.
Open Microsoft 365 Copilot and send a message. The browser extension’s popup turns green and VS Code has your token.