Visual Studio AI Assistant (Multi-Provider)
Supercharge your coding workflow by bringing the power of advanced LLMs directly into Visual Studio. Whether you want to run completely offline, privacy-first models via Ollama, or leverage the state-of-the-art reasoning of OpenAI (ChatGPT), Anthropic (Claude), and Google Gemini, this extension has you covered.

Why Use This Extension?
Built natively for Visual Studio with a seamless Dark Theme integration, this tool is designed for power users. It doesn't just chat; it acts as an intelligent text editor. With native UndoContext integration, you can inject hundreds of lines of AI-generated code instantly without freezing your IDE, and undo everything with a single Ctrl+Z.
Key Features
- ** Multi-Provider Support:** Switch instantly between Local LLMs (Ollama) and Cloud APIs (OpenAI, Anthropic, Gemini) from a single unified settings menu.
- ** Smart Injection:** Highlight a specific part of the AI's response to inject only the code you need, stripping away unwanted conversational filler.
- ** Native Performance:** Optimized with
StringBuilder and background tasks. No lag, no freezing, even with massive codebases.
- ** Advanced Text Manipulators:** * Remove Duplicates: Clean up massive lists or arrays in one click.
- Modify & Replicate: Select a target word in your code and auto-duplicate the line for multiple new variables.
- Erase & Add: Quickly strip specific words or prepend/append text to every selected line instantly.
Power-User Shortcuts
Keep your hands on the keyboard. The entire UI is optimized for keyboard navigation:
Ctrl + 1: Launch the AI Assistant instantly.
Enter: Send your prompt to the AI.
Shift + Enter: Apply the AI's response directly to your code editor and close the window.
Ctrl + Enter: Add a new line within the prompt input box.
Esc: Close the assistant safely.
Privacy First (Local LLM Support)
Working on proprietary enterprise code? Select Ollama as your provider, enter your local endpoint (e.g., http://localhost:11434/api/generate), and run models like Llama 3 or DeepSeek completely offline. Zero data leaves your machine.
Getting Started
- Install the extension and restart Visual Studio.
- Press
Ctrl + 1 to open the assistant.
- Click the ⚙️ Settings icon on the top toolbar.
- Select your preferred provider (Ollama, OpenAI, Anthropic, or Gemini).
- Enter your API Key (Securely stored). URLs and Model names are intelligently auto-filled for you!
- Select some code in your editor, write your prompt, and hit Enter!
Author: Furkan Akça Spaceandtab Company
Version: 3.0.0
Support: https://github.com/furkiak/