MahaDev GPT is a Visual Studio Code (VS Code) extension that uses chatbot GPT to generate code within VS Code. It can also provide search results to user queries within the VS Code tab.
10X Coding: Create multiple code files from one list of requirements for MahaDev GPT.
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
Download and install Visual Studio Code from here.
Open VS Code and go to Extensions on the left panel.
Search for Mahadev GPT extension and install it.
Restart VS Code.
vscode support: >= 1.65.0
Install the MahaDev GPT extension
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 query
cmd + ctrl + A - Explain code
cmd + ctrl + D - Generate DocString
cmd + ctrl + O - Optimise code
cmd + ctrl + R - Refactor code
Replace cmd with ctrl 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 :)
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!