Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Forge Code CollectorNew to Visual Studio Code? Get it now.
Forge Code Collector

Forge Code Collector

Forge AI Code Refactor

|
9 installs
| (0) | Free
Detects React/Next.js projects and collects code with file selection
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

⚒️ Forge – AI Refactoring for VS Code

Forge is a VS Code extension that helps developers refactor, clean, optimize, and generate new code using AI.

It acts like an AI teammate, reviewing your code and providing intelligent suggestions that you can review and merge safely.


✨ Features (Implemented)

Core Refactoring

  • 🤖 Complete File Replacement – Rewrites entire codebases using Deepseek and GPT-5-mini while preserving unselected files.
  • 🎯 React/Next.js Detection – Automatically detects and analyzes React and Next.js projects for targeted refactoring.
  • 📁 File Selection Interface – Modern web-based UI for selecting files with word count limits and progress tracking.

AI-Powered Generation

  • ✨ Custom File Generation – Create completely new files based on user requirements while following existing project patterns.
  • 🧠 Intelligent Integration – Automatically integrates with existing codebase, suggesting new dependencies and configuration changes.
  • 🔄 File Modification Support – Can completely rewrite existing files when modifications are requested, maintaining full functionality.

Code Optimization

  • ⚡ Performance Optimization – Improves code speed, reduces memory usage, and optimizes algorithms while preserving functionality.
  • 🏗️ Code Quality Enhancement – Improves code structure, adds proper error handling, and enhances readability.
  • 🆕 Modern Best Practices – Updates code to use latest syntax, async patterns, and modern security practices.
  • 📊 Detailed Analysis & Recommendations – Provides comprehensive analysis of improvements made and additional recommendations.

Security & Management

  • 🔐 Hardcoded Secret Detection – Automatically detects and extracts hardcoded secrets from your codebase.
  • 🔧 Environment Variable Setup – Automatically sets up environment variables for extracted secrets.
  • 📦 Dependency Cleanup – Removes unused npm packages and analyzes project dependencies.

Git Integration

  • 🌀 Git Integration – Creates separate branches for AI refactoring with safe comparison workflows.
  • 🔄 Merge/Revert Control – Full control to merge AI changes or revert with detailed commit management.
  • ↩️ Undo Button – Revert AI-applied changes instantly if you don't like them.

🎛️ AI Models

  • Free Plan: Powered by Deepseek AI (10 uses per day)
  • Pro Plan: Powered by GPT-5-mini (10 uses per day)

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