The implementation for the work Code Semantic Zooming, a novel approach based on pseudocode that allows developers to iteratively explore, understand, and refine code across multiple layers of semantic abstraction.
Why You'll Love Code Zoom
Effortless Code Comprehension: Stop deciphering complex logic. Get clear, natural language explanations of any code snippet instantly. Perfect for legacy code, new libraries, or complex algorithms.
Clearly Express Ideas: Write your thoughts in pseudocode insteand of pure natural language. This helps you communicate your ideas more effectively and get better results from LLMs.
Works with Any Language: From Python to Rust, if VS Code understands it, Code Zoom can explain it.
Quick Start
Load: Open any code file in VS Code, and click the load button in the Code Zoom sidebar to generate pseudocode for the source code.
Explore: Select any pseudocode to zoom in or out.
Refine: Edit the pseudocode to refine your ideas, then click the "Apply Changes" button to update the source code accordingly.
Configuration
To get started, add your OpenAI-compatible API key to your settings.json: