A VS Code extension that lets you send code questions, explanations, tests and fixes to OpenAI models from inside the editor.
jeffdapaz/VisualChatGPTStudio
A Visual Studio extension that brings ChatGPT-style AI into the IDE for code explanation, tests, bug finding, refactoring and chat.
Open-source alternative to:GitHub Copilot
- Stars
- 288
- Forks
- 67
- Open issues
- 3
- Last commit
- last month
What is it?
Visual chatGPT Studio is a Visual Studio extension that connects the IDE to OpenAI, Azure OpenAI, or any OpenAI API-compatible service. Right-clicking selected code in the editor offers commands such as Explain, Add Tests, Find Bugs, Optimize, Add Comments and Translate, and custom before, after or replace commands can be defined in the options.
Beyond inline commands, the extension provides several tool windows: a single-question window, a Turbo Chat window that keeps conversation history and can send open code to the model, a Solution Context window for adding project items to requests, and a Code Review window that generates reviews from Git changes. Turbo Chat also includes agents that can read and edit solution files, query SQL Server databases through connections in Server Explorer, call REST or SOAP APIs, and connect to MCP servers.
The extension supports Visual Studio 2022 and 2026 for Copilot-style inline suggestions, and Visual Studio 2019 is served by a separate package. Authentication works through an OpenAI key, an Azure OpenAI key, or Microsoft Entra ID. Some features rely on function calling, so a compatible model is recommended.
Key features
- 01Inline editor commands for explaining, testing, bug-finding, optimizing and commenting selected code.
- 02Turbo Chat window with persistent multi-tab conversation history and image attachments.
- 03SQL Server agent that runs natural-language SQL against connections configured in Server Explorer.
- 04API agent for REST and SOAP services, with credentials kept out of the AI context.
- 05Code Review window that generates reviews from pending Git changes.
- 06Supports OpenAI, Azure OpenAI with API key or Entra ID, and OpenAI-compatible endpoints.
Use cases
- Generating unit tests or XML summaries for C# methods while working in Visual Studio.
- Asking questions about a codebase and having the model read the relevant files in Turbo Chat.
- Drafting commit messages from pending Git changes before pushing.
- Querying a development SQL Server database with plain-language requests.
Quick start
- 1
Install the extension from the Visual Studio Marketplace (VS 2022 link in the README)
- 2
Configure your API key (OpenAI, Azure, or another LLM) in the extension options
- 3
Select code in the editor, right-click, and run a command such as Explain
Things to know
- Works only inside Visual Studio, not other IDEs.
- Requires your own API key from OpenAI, Azure, or another LLM provider.
- Some features, such as the MCP Server Agent and Computer Use Automation, are marked as Beta.
- Inline Copilot suggestions are only available for Visual Studio 2022 and 2026.
In collections
Topics
FAQ
- What is VisualChatGPTStudio?
- A Visual Studio extension that brings ChatGPT-style AI into the IDE for code explanation, tests, bug finding, refactoring and chat. Visual chatGPT Studio is a Visual Studio extension that connects the IDE to OpenAI, Azure OpenAI, or any OpenAI API-compatible service. Right-clicking selected code in the editor offers commands such as Explain, Add Tests, Find Bugs, Optimize, Add Comments and Translate, and custom before, after or replace commands can be defined in the options.
- Is VisualChatGPTStudio free to use? What license does it have?
- VisualChatGPTStudio is open source under the MIT license. Check the license terms before using it in commercial products.
- Is VisualChatGPTStudio still maintained?
- Updated within 6 months. The last commit to VisualChatGPTStudio was on Sep 25, 2026.
- What can I use VisualChatGPTStudio for?
- Generating unit tests or XML summaries for C# methods while working in Visual Studio. Asking questions about a codebase and having the model read the relevant files in Turbo Chat. Drafting commit messages from pending Git changes before pushing. Querying a development SQL Server database with plain-language requests.
- How do I install VisualChatGPTStudio?
- Install the extension from the Visual Studio Marketplace (VS 2022 link in the README) Configure your API key (OpenAI, Azure, or another LLM) in the extension options Select code in the editor, right-click, and run a command such as Explain
- Where can I get VisualChatGPTStudio?
- The source code and installation instructions are on GitHub: https://github.com/jeffdapaz/VisualChatGPTStudio
Summary generated by AI from the project's README. GitHub stats refresh daily.
Related projects
A Telegram bot that gives users a streaming ChatGPT-style chat experience, backed by Azure OpenAI or native OpenAI.
VS Code extension for local LLM code completion, AI chat, and an agentic coding assistant backed by llama.cpp.
A GitHub code review bot that uses ChatGPT-style LLMs to comment on pull request diffs, run as a GitHub App, Action, or self-hosted Probot app.
A Go CLI that generates git commit messages and brief code reviews with LLMs, and can install a prepare-commit-msg git hook.
An unofficial bridge that lets ChatGPT web plan and review your Codex coding sessions through a read-only, OAuth-protected MCP connection, with Codex keeping execution.