MahaDev GPT is a Visual Studio Code (VS Code) extension that uses AI models to dynamically generate code from query within VS Code IDE. Essentially, It makes devleoper productivity 10X by providing features like code refactoring, code optimisation, documentations & much more.
- 10X Coding: Create multiple code files from one list of requirements for MahaDev GPT.
- Doc String: Generate docString for your javascript code
- Code explain: Select any piece of code you don't understand and get an easy explanation for it
- Refactor any code: Refactor any piece of code that is there in your repository
- Optimise existing code: Optimise any existing code to make it better
- GPT in IDE: Talk to chat gpt within the IDE itself
- Shortcuts: Provides easy shortcuts to activate all features
- Multi-programming support: Support for all languages available (Javascript, python, HTML, css, javascript, java, and all others)
- Download and install Visual Studio Code from here.
- Open VS Code and go to
Extensions
on the left panel. - Search for
Mahadev
extension and install it. - Restart VS Code.
vscode support: >= 1.65.0
- Install the MahaDev GPT extension
- Press CMD + Shift + P | Type 'MahaDev GPT | Set API Key' Press enter | Add your API Key
- Select any code and right-click to get access to all MahaDev features.
Alternatively, you can select your query and use the following shortcuts:
cmd + ctrl + G
- Generate code for your querycmd + ctrl + A
- Explain codecmd + ctrl + D
- Generate DocStringcmd + ctrl + O
- Optimise codecmd + ctrl + R
- Refactor code
Replace
cmd
withctrl
for Windows OS
- Create a new tab inside VS code (Shortcut:
cmd + N
) - Write your query like this
Login.js > Create a react component for login with two way binding and event handling
- Select your query (using mouse / keyboard shortcuts -
cmd + A
) - Press
cmd + shift + G
to execute the query
Mahadev GPT will create a file with the title
Login.js
and inject boilerplate code inside the file for you. Happy Coding :)
- Clone the repository
- npm install
- Open extensions.js and press fn + F5 to run the extension locally
For documentation, read vsc-extension-quickstart.md
We greatly appreciate your support and contributions to this vs code extension! If you are interested in contributing, please check out our open source repository and follow the contribution guidelines.
We welcome any and all contributions to help improve this extension and make it the best it can be. Thank you for your help!
If you have any issues or questions, feel free to contact us at aadesh.kulkarni08@gmail.com.