Overview Version History Q & A Rating & Review
Personal Coding Assistant
The Personal Coding Assistant is an AI-powered extension for Visual Studio Code that helps developers write, refactor, and learn code more effectively. It leverages AI to provide suggestions, explanations, error detection, refactoring tips, and educational insights.
Features
1. Suggest Code
2. Explain Code
3. Detect Errors
4. Refactor Code
Suggest improvements for better readability and maintainability.
Example:
def add(a, b): return a+b
Refactored Code :
def add(a, b):
return a + b
5. Learn Code
Requirements
Installation
Clone the repository:
git clone https://github.com/ShreyanshShakya/personal-coding-assistant.git
cd personal-coding-assistant
Install dependencies:
npm install
Compile the extension:
npm run compile
Package the extension:
vsce package
Install the .vsix
file in Visual Studio Code:
code --install-extension personal-coding-assistant-1.0.0.vsix
Usage
Open a Python file in Visual Studio Code.
Select a portion of code or open a file.
Use the Command Palette (Ctrl+Shift+P
or Cmd+Shift+P
on Mac) and run one of the following commands:
AI Assistant: Suggest Code
AI Assistant: Explain Code
AI Assistant: Detect Errors
AI Assistant: Refactor Code
AI Assistant: Learn Code
View the results in the Output Panel.
Extension Settings
This extension does not add any custom settings yet.
Known Issues
The extension requires an active internet connection for AI-powered features.
Ensure the GROQ_API_KEY
is valid and set in the .env
file.
Release Notes
1.0.0
Initial release with the following features:
Code Suggestion
Code Explanation
Error Detection
Code Refactoring
Learning Mode
Contributing
Contributions are welcome! Please follow these steps:
Fork the repository.
Create a new branch:
git checkout -b feature-name
Commit your changes:
git commit -m "Add feature-name"
Push to the branch:
git push origin feature-name
Open a pull request.
License
This project is licensed under the MIT License.
For questions or feedback, please contact Shreyansh Shakya .