Skip to content
| Marketplace
Sign in
Visual Studio>Tools>VisualStudioCodex
VisualStudioCodex

VisualStudioCodex

Georgiana Alba

|
5 installs
| (0) | Free
Use Codex in Visual Studio with your ChatGPT subscription to explore your solution, review edits, and debug failing tests.
Download

VisualStudioCodex brings the Codex access included with your ChatGPT subscription into Visual Studio. Sign in with an eligible ChatGPT account to use your plan’s Codex allowance. No OpenAI API key or separate API credits are required.

Codex can work with the solution you have open, including your current selection and unsaved edits. Select a method and ask, “Which callers depend on this behavior?” Codex can follow references across projects and point you to the code behind its answer.

What you can do

  • Explore your code. Find definitions, implementations, and references across your solution. Ask Codex to explain how a change would affect callers.
  • Investigate a failing test. Ask Codex to run a specific test from Test Explorer. When the debugger pauses, it can inspect the call stack and local values to help explain the failure.
  • Review and apply edits. Inspect proposed changes in Visual Studio’s diff viewer. Review related changes across multiple files together and revert them with one Undo.
  • Work with Git. Ask Codex to summarize a diff, review staged changes, or commit and push when you request it.

Get started

  1. Open a solution in Visual Studio.
  2. Choose View → Other Windows → VisualStudioCodex.
  3. Select Connect. The extension looks for a compatible Codex executable on your machine. If needed, use Browse to select it.
  4. Choose Sign in with ChatGPT if prompted, then ask your first question.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft