Complement is a powerful AI code assistant extension for Visual Studio that integrates with Ollama to provide intelligent code assistance through natural language chat and sophisticated multi-file editing capabilities. Transform your development workflow with AI-powered code understanding and modification across your entire solution.
Features
💬 Natural Language Chat Interface
Interactive chat window for discussing code with AI
Context-aware conversations about your codebase
Seamless integration with your development workflow
Support for markdown formatting in chat messages
🔄 Multi-File Code Editing
Make changes across multiple files simultaneously
View and apply diffs directly in the editor
Track changes with visual diff blocks
Maintain code consistency across your solution
🔍 Codebase Understanding
AI-powered codebase indexing
Contextual awareness of your entire solution
Intelligent file content management
Smart code suggestions based on project structure
🎯 Precise Code Modifications
Visual diff previews before applying changes
Selective application of AI-suggested edits
Command adorners for easy code manipulation
Real-time code modification tracking
Recommended Models
Chat Model
Any model capable of generating both text and code, such as gemma
Autocomplete Model
Starcoder models and the like
Embedding Model
Any model capable of generating embeddings, such as nomic-embed-text
Requirements
Visual Studio 2022 (Community, Professional, or Enterprise)
Microsoft .NET Framework 4.5 or higher
Ollama installation (local or remote)
Installation
Install the extension from the Visual Studio Marketplace
Ensure you have Ollama running (either locally or accessible)