codewiseautomated solution that uses Artificial Intelligence to review programmers' code, identifying and suggesting improvements for performance and code smells. With Code Wise, you can efficiently optimize your code, receiving real-time feedback directly in your workflow. FeaturesReal-time Git commit monitoring Automatically observes changes and analyzes new commits pushed to the repository. Automatic .env detection and injection Detects when a .env file is created or modified and automatically copies it to the required workflow directory. Agent-based code analysis using CrewAI Uses multiple AI agents to analyze code architecture, design patterns, integrations, and SOLID principles. Built-in error detection for environment variables Detects incorrect or missing environment variables and alerts the user with clear error messages. Seamless Python integration Automatically runs Python scripts and installs dependencies without requiring manual terminal commands. Repository path extraction Captures the current workspace path and makes it available to the Python backend for contextual analysis. .env dependency validation Ensures all required .env variables are valid before running the analysis. RequirementsPython version >=3.10 and <3.13
Extension SettingsThis extension does not require any custom user configuration. However, ensure the following are properly set up:
Once these are in place, the extension will automatically observe changes and trigger the analysis pipeline when appropriate. Known IssuesAPI-related errors (e.g., invalid MODEL or CODEWISE_AGENT_API_KEY) are written to API_ERROR.txt and shown in VS Code as an error message. Python dependencies may conflict if crewai and crewai-tools are installed with incompatible versions. Ensure all packages are compatible in requirements.txt. The extension assumes the workspace root contains the .env file. If it is placed elsewhere, the environment variables will not be loaded. Currently, only one workspace folder is supported at a time. Release Notesv1.0.0
Following extension guidelinesThis project follows the Visual Studio Code Extension Guidelines to ensure compatibility, stability, and proper usage of the VSCode API. Best practices observed include:
For more information |