Code Explainer
Code Explainer is a Visual Studio Code extension that uses Groq AI to provide explanations for selected code snippets.
Features
- Select a piece of code and get an explanation of what it does.
- Integrates seamlessly with the Groq AI platform.
Usage
- Select the code you want to explain in your editor.
- Press
Ctrl+Shift+P to open the command palette.
- Type
Explain Code and select the command.
- Wait for the explanation to be displayed.
Installation
- Open the Extensions view by clicking on the Extensions icon in the Activity Bar on the side of the window.
- Search for
Code Explainer .
- Click the
Install button.
Development
Building the Extension
- Clone the repository.
- Install dependencies:
npm install
- Compile the TypeScript code:
npm run compile
Running the Extension
- Press
F5 to open a new VS Code window with the extension loaded.
Publishing
- Update the version number in
package.json .
- Run
vsce package to create a .vsix file.
- Run
vsce publish to publish the extension to the marketplace.
License
MIT
| |