Generate and review code safely inside VS Code using AI. Your code is never uploaded without your consent. API keys are stored securely using VS Code Secret Storage.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
SmartCode Assistant is a VS Code extension that helps you generate code and review existing code using AI, directly inside your editor.
Your code is never uploaded automatically, and your API key is stored securely using VS Code Secret Storage.
Features
Generate new code or project files from natural language
Review and improve existing code in your workspace
Sidebar-based UI for easy interaction
Secure API key storage (not visible in UI or source code)
Works inside your local VS Code workspace
Requirements
Before using this extension, you need:
Visual Studio Code version 1.90.0 or later
A Google Gemini API key
Installation
From VS Code Marketplace
Open VS Code
Go to the Extensions view (Ctrl + Shift + X)
Search for SmartCode Assistant
Click Install
First-Time Setup (Important)
Open the SmartCode Assistant from the Activity Bar (left sidebar)
You will see an input field for an API key
Paste your Google Gemini API key
Click Save API Key
The key is stored securely using VS Code Secret Storage and is never shown again unless you enter it.
How to Use
Generate Code
Open a folder or workspace in VS Code
Open the SmartCode Assistant sidebar
In the input box, describe what you want to build
Example:
Click Generate Code
Files and folders will be created inside your workspace
Review Code
Open a folder or workspace that contains code
Open the SmartCode Assistant sidebar
Enter a short instruction (optional)
Click Review Code
The extension will analyze your project and:
Detect bugs
Improve code quality
Fix common issues (HTML, CSS, JS, TypeScript)
Show a summary of changes in the output panel
Security & Privacy
API keys are stored using VS Code Secret Storage
Your code is processed only when you request it
No background uploads or tracking
No data is shared without your action
Known Limitations
Currently supports Google Gemini
Large projects may take longer to review
Internet connection is required for AI features
Support & Feedback
If you find a bug or want to request a feature, please visit: