Explain Code Simply is a VS Code extension that explains selected code using Gemini AI via a secure backend. Select code, right-click, and choose "Explain Code Simply" to get an explanation in a side panel.
Multiple output styles (Summary, Step-by-step, Deep Dive, Highlight Issues)
Secure backend (default: deployed cloud backend)
Installation
Install the extension from the VS Code Marketplace.
No local backend setup is required by default. The extension uses a secure deployed backend: https://explain-code-vs-code-extention-back.vercel.app/explain
(Optional) You can change the backend URL in the extension settings if you want to use your own server.
Usage
Select any code in the editor.
Right-click and choose Explain Code Simply from the context menu, or use the Command Palette (Ctrl+Shift+P) and search for "Explain Code Simply".
Choose your desired explanation level and output style.
The explanation will appear in a side panel.
Development
If you want to develop or test the extension locally:
Run npm install to install dependencies.
Run npm run compile to build the extension.
Press F5 to launch the extension in a new Extension Development Host window.
By default, the extension uses the deployed backend. You can change the backend URL in the extension settings if needed.
Configuration
explainCodeSimply.backendUrl: The backend URL for code explanation requests (default: deployed backend).
explainCodeSimply.defaultStyle: Default output style for explanations.