MicroGPT for Visual Studio Code
MicroGPT is a cutting-edge Visual Studio Code extension designed to elevate your coding experience by providing instant, AI-powered feedback on your code. Leveraging the advanced capabilities of ChatGPT, MicroGPT analyzes your code in real-time, offering suggestions, identifying potential issues, and enhancing your overall code quality.
Features
- Code Analysis: Real-time analysis of your code to identify syntax errors, logical errors, and potential improvements.
- Feedback Generation: Utilizes ChatGPT to generate insightful feedback and suggestions to improve your code.
- Customizable Settings: Adjust the feedback level based on your preference, from detailed explanations to quick tips.
- Support for Multiple Languages: Works with a variety of programming languages including JavaScript, Python, TypeScript, and more.
- Integrated Learning: Offers explanations and documentation references to not only fix your code but also learn why a certain approach is recommended.
- AutoDoumentation and Organizing: Offers feature for auto documentation of functions or scripts and organize in respective folders.
Getting Started
Installation
- Open Visual Studio Code.
- Go to the Extensions view by clicking on the square icon on the sidebar or pressing
Ctrl+Shift+X.
- Search for "MicroGPT".
- Click on the Install button.
For Chat Feature :
- Go to System Command Prompt
- Intall sox on your device
-For linux :
sudo apt-get update
sudo apt-get install sox
-For Window :
choco install sox
-For Mac :
brew install sox
- Set the path of environment variables if not configured and verify the version with sox --version
- Start VS code -> On status bar use chat with microgpt
Usage
Once installed, MicroGPT will automatically start analyzing your code as you type. Feedback from MicroGPT will appear in the VS Code Problems pane and as inline suggestions.
You can also trigger MicroGPT manually by right-clicking in your editor window and selecting "Analyze Code with MicroGPT" from the context menu.
You can use chat with MicroGPT from bottom right corner of the editor and start chatting.
Auto Documentation and summarizing can be done by using right click on editor.
For Generating function using NLP use Ctrl+alt+q and type your function name with language.
For organizing files use Ctrl+alt+u and the files will organize in respective folders.
Configuration
Access the extension settings by going to File > Preferences > Settings (or Ctrl+,), then search for MicroGPT. Here, you can customize various aspects of the feedback and analysis features.
Contributing
We welcome contributions from the community! Whether you're interested in fixing bugs, adding new features, or improving documentation, please feel free to fork the repository and submit a pull request.
Support
If you encounter any issues or have suggestions, please open an issue on our GitHub repository.
Learn More
For more information about MicroGPT, visit our website at https://microgpt.gitbook.io/microgpt.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgments
- Thanks to OpenAI for providing the ChatGPT API, which powers the core functionality of MicroGPT.
- Thanks to the Visual Studio Code team for their extensive documentation and support for extension developers.