The Visual Studio Code extension is only for use with the ChatGPT macOS app Work with Apps feature. Learn more about Work with Apps.
(Note: The extension also works with VSCode Insiders, VSCodium, Cursor, and Windsurf)
Make sure you are on the latest version of the ChatGPT macOS app
Download the extension: openai-chatgpt.vsix
In Visual Studio Code, open the Command Palette (CMD-Shift-P) and choose “Extensions: Install from VSIX…”
Select the VSIX file that you downloaded above
Verify that “ChatGPT – Work with VS Code on macOS” appears in the Extensions sidebar
With the extension installed, ChatGPT can now work with content in open editor panes.