A VS Code extension that provides code analysis and documentation search using Azure AI Search and GitHub Copilot models. The extension analyzes code symbols, understands implementation patterns, and searches indexed documentation to answer questions about your codebase.
Features Provided
Symbol Analysis
Code understanding using GitHub Copilot models (GPT-4o)
Complete context extraction including logic flow and dependencies
Pattern detection (factory, singleton, observer)
Cross-reference analysis with detailed usage patterns
Documentation Search
Semantic search using Azure AI Search
Contextual results with AI-generated summaries
Relevance scoring and filtering
Multi-index support (documentation, commits, PRs, work items, code changes)
GitHub Copilot Chat Integration
Ask questions about code symbols and documentation in Copilot Chat:
@devcenter-brain Explain the symbol "CosmosFeedProcessorFactory" at line 11
@devcenter-brain how does authentication work?
@devcenter-brain what are the deployment best practices?
Query Generation
Generates multiple search queries from code context
Falls back to code analysis when documentation is unavailable
Adapts to different programming languages and frameworks
Requirements
VS Code 1.85.0 or higher
Azure DevCenter access
Azure AI Search Service with configured indexes
GitHub Copilot subscription (for Language Model features)
Quick Start
Install the extension from the VSIX file or marketplace
Sign in to Azure using the DevCenter Brain panel
Associate your repository with a DevCenter project
Use the chat participant by typing @devcenter-brain in Copilot Chat
Using the Chat Participant
Ask questions about code symbols in your active editor:
@devcenter-brain Explain the symbol "AuthenticationService" at line 45
@devcenter-brain how does the change feed processor work?
@devcenter-brain troubleshooting authentication errors
The extension will:
Analyze the symbol using VS Code LSP and Copilot models