Villa Code is a code Reviewer is a VS Code extension that automatically reviews code to catch bugs early and ensure best practices are followed. It helps developers reduce review noise and maintain code quality across fast-moving projects. The extension allows developers to run self-reviews on local
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Villa Code is a VS Code extension that automatically reviews your code to catch bugs early and ensure best practices are followed. It helps developers reduce review noise and maintain code quality across fast-moving projects.
Categories
Linters: AI-powered code analysis and quality enforcement
Programming Languages: Multi-language support (TypeScript, JavaScript, Python, Java, C#, C++, and more)
Machine Learning: Intelligent code review powered by advanced AI
Snippets: Code analysis and validation patterns
Features
AI-Powered Code Review: Automatically analyzes your code for bugs, security issues, and best practice violations
Validate Selection: Select any code snippet and get instant feedback
Validate File: Review an entire file with one click
Validate Workspace: Scan your entire project for issues
Copy to AI: Copy issues directly to your clipboard to paste into AI chat for help
Memory Timeline: Track code changes and validation history
Auto-Fix Suggestions: Get concrete fix recommendations for detected issues
Getting Started
1. Install the Extension
Search for "Villa Code" in the VS Code marketplace or install the .vsix file manually.
2. Configure Your API Key (Required)
Villa Code requires an API key to authenticate with the backend. You can obtain this from your Villa dashboard.
Open VS Code Settings (Ctrl+,)
Search for "Villa" or "ai-validator"
Add your API key to the ai-validator.apiKey setting
OR use the sidebar:
Open the Villa sidebar from the activity bar
If no API key is set, you'll see an input field
Paste your API key and press Enter
3. Login (Optional)
For full features including cloud sync, login via the sidebar buttons.
4. Start Validating
Validate File: Click the "Validate File" button in the sidebar or press Ctrl+Shift+V
Validate Selection: Select code, right-click, and choose "Villa: Validate Selection"
Validate Project: Click "Validate Project" in the sidebar
⚠️ Note: You must have an API key configured to use validation features. The extension will prompt you to add a key if one is not set.
Commands
Command
Keybinding
Description
Villa: Validate Selection
-
Validate selected code
Villa: Validate File
Ctrl+Shift+V
Validate current file
Villa: Validate Workspace
-
Validate entire project
Villa: Open Validation Panel
-
Open results panel
Villa: Configure Settings
-
Configure extension settings
Villa: Login
-
Login to Villa account
Villa: Logout
-
Logout from Villa account
Villa: Debug Panel
-
Generate synthetic validation results
Villa: Memory Timeline
-
View memory timeline
Villa: Restore Snapshot
-
Restore memory snapshot
Villa: Memory Stats
-
View memory statistics
Configuration
Access settings via Ctrl+, and search for "Villa" or click "⚙️ Villa: Configure Settings" in the sidebar.