CodeMind is an AI-powered VS Code extension that helps developers quickly understand and document code by summarizing logic, changes, selections, and libraries.
🔍 Features
Say Hello: Test command to check extension is loaded properly.
Say Hello My Love: Verifies your token with Firebase via a Python script.
Summarize Active File: Analyzes the currently open file and summarizes its structure and logic.
Summarize Git Diff: Summarizes recent Git changes in the active file using AI.
Summarize Selected Text: Provides focused summaries of selected code regions.
Extract Libraries and Generate Description: Extracts libraries from the active file and creates professional-level descriptions (for CV, job interviews, and portfolios).
Explain Function(Planned): AI-based hover explanation of functions and methods.
Auto Document(Beta): Generates inline comments and docstrings to increase code readability.
🚀 Usage
Run CodeMind: Say Hello My Love to verify your token (only once per session).
After successful verification, use any of the following commands via the Command Palette (Cmd+Shift+P / Ctrl+Shift+P):
CodeMind: Summarize Active File
CodeMind: Summarize Git Diff
CodeMind: Summarize Selected Text
CodeMind: Extract Libraries and Generate Description
CodeMind: Analyze Code Quality
CodeMind: Suggest Refactors
CodeMind: Detect Code Smells
CodeMind: Enhance Selected Code
📦 Requirements
VS Code ≥ 1.99.0
Node.js ≥ 18.x
Internet access for AI summarization
Python ≥ 3.10 with requests module
Firebase Cloud Function deployed for token verification
📘 About Extract Libraries and Generate Description
This unique feature scans the current file for library imports using language-specific patterns (Python, JS, TS, Dart) and generates three formal descriptions suitable for:
Your CV (what libraries you used and why),
A job interview (how you applied them in real-world scenarios),
Your portfolio (presenting your skills professionally).
It’s a smart way to turn raw code into professional communication.