AI-Powered Code Quality and Automation for VS Code
- Multi-mode Analysis: Ultra-fast, Fast, Smart, Comprehensive, and AI-Enhanced modes
- Real-time Feedback: Instant quality checks as you code
- File & Workspace Analysis: Check individual files or entire workspaces
- Intelligent Issue Detection: AI-powered code quality analysis
- Automatic Issue Resolution: Fix common code quality issues automatically
- Smart Suggestions: AI-driven recommendations for code improvements
- Safe Auto-fix: Preview changes before applying
- Quality Dashboard: Web-based interface for detailed analysis
- Performance Metrics: Track code quality improvements over time
- Issue History: View and manage quality issues
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "CodeFlow" or "CodeFlow"
- Click Install
- Clone this repository
- Navigate to the extension directory
- Run
npm install - Run
npm run compile - Press F5 to launch the extension in a new VS Code window
- Open a Python, JavaScript, or TypeScript file
- Right-click in the editor or use Command Palette (Ctrl+Shift+P)
- Select "CodeFlow: Check Current File"
- View results in the CodeFlow output panel
- CodeFlow: Run Quality Check - Quick quality check with default settings
- CodeFlow: Check Current File - Analyze the currently open file
- CodeFlow: Check Workspace - Analyze all files in the workspace
- CodeFlow: Split Large File - Split large files into manageable components
- CodeFlow: Auto-Fix Issues - Automatically fix detected issues
- CodeFlow: Show Dashboard - Open the web-based dashboard
- CodeFlow: Configure - Open extension settings
| Setting | Description | Default |
|---|---|---|
codeflow.enabled |
Enable/disable the extension | true |
codeflow.qualityMode |
Default quality analysis mode | fast |
codeflow.autoFixEnabled |
Enable automatic fixing | false |
codeflow.showNotifications |
Show operation notifications | true |
codeflow.pythonPath |
Path to Python executable | python |
codeflow.maxFileSize |
Maximum file size for analysis | 10000 |
- Node.js 16+
- TypeScript 4.8+
- VS Code Extension Development Tools
npm install # Install dependencies
npm run compile # Compile TypeScript
npm run watch # Watch for changes
npm run lint # Run ESLint
npm run test # Run testsThe extension is built in CI and .vsix files are attached to GitHub Releases. To build locally:
npm run package # Creates .vsix fileNote: .vsix files are build artifacts and should not be committed to the repository long-term.
The extension communicates with CodeFlow Engine via:
- HTTP API: REST endpoints for engine operations
- Well-defined contracts: No hard-coded dependencies on engine repo structure
codeflow-engine- Core engine (communicates via API)codeflow-desktop- Desktop applicationcodeflow-infrastructure- Production infrastructurecodeflow-azure-setup- Azure bootstrap scriptscodeflow-website- Marketing website
MIT