Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>ChatGPT – Work with Code on macOSNew to Visual Studio Code? Get it now.
ChatGPT – Work with Code on macOS

ChatGPT – Work with Code on macOS

OpenAI

openai.com
|
297,929 installs
| (21) | Free
Allows the ChatGPT desktop application to read and edit files open in Visual Studio Code. It requires the ChatGPT desktop app to function.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
  • With the ChatGPT desktop app running, connect ChatGPT to Visual Studio Code by pressing Option + Space while in Visual Studio Code or select "Ask ChatGPT" from the Command Palette.
  • Ask ChatGPT to answer questions or directly make changes to your code.
  • ChatGPT will only access code in active editor panes. To work with multiple files at the same time, open them in split editors.
  • Select text to focus ChatGPT on specific parts of your code.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft