Skip to content
| Marketplace
Sign in
Visual Studio Code>Linters>CodeFix ProNew to Visual Studio Code? Get it now.
CodeFix Pro

CodeFix Pro

codefix

|
2 installs
| (0) | Free
AI-powered code review and automatic fixes using Google Gemini
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

📖 CodeFix Pro - Complete User Guide

🚀 Getting Started

Step 1: Install the Extension

  1. Open Extensions panel in VS Code (Ctrl+Shift+X)
  2. Type "CodeFix Pro" in the search bar
  3. Click Install

Step 2: Get Your Gemini API Key

  1. Visit: Google Gemini Api key
  2. Login with your Google account
  3. Click Create API Key
  4. Copy your new API key

Step 3: Set Up API Key in VS Code

  1. Open Command Palette in VS Code (Ctrl+Shift+P)
  2. Type: CodeFix Pro: Set Gemini API Key
  3. Press Enter
  4. Paste your API key
  5. Press Enter

✅ Success! Your extension setup is complete.

📝 How to Use CodeFix Pro

🔄 Option 1: Review a Single File

  1. Right-click on any file in Explorer
  2. Select "CodeFix Pro: Review Current File"
  3. Wait for the review to complete
  4. Preview issues and Apply Fixes

📁 Option 2: Review Entire Project

  1. Right-click on your project folder in Explorer
  2. Select "CodeFix Pro: Review & Fix Entire Project"
  3. Confirm the action (it will review all files)
  4. Watch the progress bar and wait for the summary report

🔧 What CodeFix Pro Fixes

🔒 Security Issues:

  • Hardcoded API keys and passwords
  • eval() function usage
  • innerHTML security risks
  • Unsafe function calls

🐛 Bug Fixes:

  • Null/undefined access errors
  • Type errors and logical mistakes
  • Assignment in conditions (= instead of ==/===)
  • Async/await problems

✨ Code Quality Improvements:

  • Changing var to let/const
  • Removing or commenting console.log statements
  • Unused variables and functions
  • Inefficient code patterns

📊 Understanding the Review Report

After review completes, you'll get two reports:

1. Visual HTML Report:

  • Color-coded issue categories
  • Statistics and metrics
  • File-by-file breakdown

2. Text Summary (Output Panel):

📊 CODE REVIEW COMPLETE
Total Files Analyzed: 15
Files Fixed: 8
Total Issues Found: 23

🔴 SECURITY FIXES: 5
🟠 BUG FIXES: 8  
🟡 CODE QUALITY IMPROVEMENTS: 10

⚙️ Configuration Settings

Go to VS Code settings (Ctrl+,) and search for codefix-pro:

Setting Description Default Value
codefix-pro.apiKey Your Gemini API key (empty)
codefix-pro.model AI model to use gemini-2.5-flash
codefix-pro.autoFix Automatically apply fixes true
codefix-pro.scanExtensions File types to scan [".js", ".ts", ".html", ".css"]

💡 Tips & Best Practices

For Best Results:

  1. Review in small batches - Start with single files
  2. Preview fixes before applying
  3. Commit to Git before bulk fixes
  4. Test your code after fixes are applied

Supported File Types:

  • JavaScript (.js, .jsx)
  • TypeScript (.ts, .tsx)
  • HTML (.html, .htm)
  • CSS (.css)
  • JSON (.json)

❓ Troubleshooting

Common Issues & Solutions:

Problem Solution
"API key not set" error Run CodeFix Pro: Set Gemini API Key command
No issues found Check if file type is supported
Fixes not applying Check codefix-pro.autoFix setting
Slow performance Review large projects in chunks
"Invalid API key" Generate a new API key

Viewing Logs:

  1. Open Output Panel in VS Code (Ctrl+Shift+U)
  2. Select "CodeFix Pro" from the dropdown
  3. View detailed logs

🔄 Workflow Examples

Example 1: Security Audit

1. Run security review on project
2. Find hardcoded secrets
3. Convert to environment variables
4. Generate security report

Example 2: Code Cleanup

1. Run code quality review
2. Convert var → let/const
3. Remove console.log statements
4. Delete unused code

Example 3: Bug Hunting

1. Run bug detection
2. Add null checks
3. Fix type errors
4. Resolve logic issues

📞 Support & Feedback

Getting Help:

  1. Check Output Panel for error details
  2. Verify API key is valid and active
  3. Ensure internet connection is working

Reporting Issues:

To report extension issues:

  • Copy the error message
  • Note the steps to reproduce
  • Attach sample code (if possible)

🎯 Quick Reference Commands

Command Shortcut Description
Set API Key Ctrl+Shift+P → "CodeFix Pro: Set API Key" Configure Gemini API
Review File Right-click file → "Review Current File" Single file analysis
Review Project Right-click folder → "Review Entire Project" Full project analysis
View Settings Ctrl+, → search "codefix-pro" Extension configuration

✅ Success Checklist

  • [ ] Extension installed
  • [ ] Gemini API key obtained
  • [ ] API key configured in VS Code
  • [ ] Test file reviewed successfully
  • [ ] Fixes applied and verified
  • [ ] Settings customized as needed

🎉 Ready to Start? Open a project and right-click "CodeFix Pro: Review Current File"!

⚠️ Note: CodeFix Pro provides AI-powered suggestions. Always review suggested changes before applying, especially in production code.

For more Information contact ---9389609760

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft