An AI-powered coding assistant for Visual Studio Code that helps you write better code with explanations, documentation, bug detection, and refactoring suggestions.
Features
🤖 AI-Powered Code Analysis
Explain Code: Select code and get an instant explanation of what it does
Generate Documentation: Auto-generate JSDoc comments and documentation
Find Bugs: Analyze code for potential issues and bugs
Refactor Code: Get suggestions to improve code quality and readability
💬 Interactive Chat Interface
AI Chat Panel: Dedicated sidebar for conversational AI assistance
Ask Questions: Send messages directly to Atlas AI from the command palette
Chat History: View all previous questions and responses
Clear Chat: Reset conversation history with one command
⚡ Quick Access
Right-click context menu for all commands
Keyboard shortcut: Ctrl+Alt+E to explain selected code
Chat keyboard shortcut: Ctrl+Alt+C to open chat input
Command palette access to all features
Dedicated AI Assistant panel with chat interface
Usage
Code Analysis Methods
Method 1: Context Menu
Select code in your editor
Right-click to open the context menu
Choose from:
"Atlas AI: Explain Selected Code"
"Atlas AI: Generate Documentation"
"Atlas AI: Find Bugs in Selected Code"
"Atlas AI: Refactor Selected Code"
Method 2: Keyboard Shortcut
Select code in your editor
Press Ctrl+Alt+E (or Cmd+Alt+E on Mac) to explain the code
Method 3: Command Palette
Press Ctrl+Shift+P (or Cmd+Shift+P on Mac)
Type "Atlas AI:" to see all available commands
Select a command to execute
Chat Interface
Method 1: Chat Panel in Sidebar
Click the Atlas AI icon in the Activity Bar (left sidebar)
The AI Assistant panel opens showing chat history
Click "Send Chat Message" to open the input dialog
Method 2: Keyboard Shortcut
Press Ctrl+Alt+C (or Cmd+Alt+C on Mac)
Type your question in the input box
Press Enter to send
Method 3: Command Palette
Press Ctrl+Shift+P (or Cmd+Shift+P on Mac)
Type "Atlas AI: Send Chat Message"
Type your question and press Enter
Clear Chat History
Use Command Palette: Ctrl+Shift+P → "Atlas AI: Clear Chat History"
Or click the clear button in the Chat panel title bar
Commands
Command
Shortcut
Description
atlasAI.explainCode
Ctrl+Alt+E
Explain what the selected code does
atlasAI.generateDocumentation
N/A
Generate documentation for selected code
atlasAI.findBug
N/A
Analyze code for potential bugs
atlasAI.refactorCode
N/A
Get refactoring suggestions
atlasAI.sendChat
Ctrl+Alt+C
Send a message to Atlas AI Chat
atlasAI.clearChat
N/A
Clear chat history
atlasAI.showPanel
N/A
Open the AI Assistant panel
Configuration
API Key Setup (For Real AI Features)
To enable full AI capabilities with real API responses:
Open VS Code Settings (Ctrl+,)
Search for "Atlas AI"
Configure:
API Provider: Choose OpenAI, Anthropic, or other supported services
API Key: Enter your API key
Model: Select preferred AI model
Supported Providers
OpenAI (GPT-4, GPT-3.5)
Anthropic Claude
Local LLM models
Example Workflows
Documenting Legacy Code
Select the function or class
Run "Atlas AI: Generate Documentation"
Review the generated JSDoc comments
Copy and integrate into your code
Code Review and Optimization
Select a code block
Run "Atlas AI: Find Bugs in Selected Code"
Review suggestions
Run "Atlas AI: Refactor Selected Code" for improvements
Learning and Understanding
Select unfamiliar code
Run "Atlas AI: Explain Selected Code"
Read the explanation in the output panel
Development
Prerequisites
Node.js 14+
npm 6+
VS Code 1.120.0+
Setup
npm install
Run Extension in Development Mode
Press F5 in VS Code to launch the extension host
A new VS Code window opens with the extension loaded