Welcome to DevPilot: Your pair programming partner makes you a greater navigator
Take a Glimpse
Unleash the power of AI in your coding with DevPilot, your new coding buddy, designed exclusively for Visual Studio Code. This innovative AI-based plugin is set to supercharge your Java development process.
This innovative AI-based plugin is set to supercharge your development process.
Currently, the plugin has version requirements for Visual Studio Code. The minimum required version is 1.75.0, make sure you have the appropriate version installed before attempting to use the plugin.
Install plugin from Visual Studio Code official marketplace - You can get the plugin from here.
After the successful installation of the plugin, you can find the configuration page of DevPilot in the Settings section of the Visual Studio Code settings page. open the settings with command+,
Or navigate to Code ❯ Preferences ❯ Settings > devpilot.
On the configuration page, you can switch the language of the plugin between multiple choices, as well as select different models and their addresses. The username will be displayed on the page during the conversation.
How to use
In the dialog box, you can ask any question and send it by pressing Enter or using the send button. DevPilot will then provide an answer and display it on the current page.
Select a block of code, then right click on the "DevPilot" option on the context menu.You can choose from one of:
For example , select the code, right-click -> DevPilot -> Fix This. Then, the window will automatically open and provide relevant suggestions for fixes. You can modify the code based on the suggestions.
DevPilot provides developers with rich capabilities to help them eliminate the tedious work of writing test cases and comments, write more efficient code, and troubleshoot code issues, among other things.
Chat with DevPilot
The plugin supports chat, the conversation page can be opened through the right-click menu or the entry on the right sidebar.
You can write questions in the dialogue box, send them by pressing enter or the send button, and OpenAI will provide answers and display them on the current page.
Generate test cases
Users can generate test cases through our plugin. Users can right-click on a selected method and click "Generate Tests".
Afterward, a window will automatically open and the window will return the relevant test cases. Users can directly copy the test or choose to insert or replace the relevant code at the cursor position. They can even create a new test class file.
Plugin supports the function of generating code comments. Users can right-click and select "Generate comments" after selecting a code block.
Afterward, the window will automatically open and return the relevant annotation results. The edited code will also automatically show the generated annotations and the original code in a diff format, allowing users to compare and accept the corresponding annotations.
The plugin supports the ability to review code. Users can right-click on the selected code block and click "Review Code".
The plugin supports the ability to fix code. Users can right-click on "Fix This" after selecting a code block.
Afterward, the window will automatically open and provide relevant repair suggestions. Users can modify their code based on the suggestions.
The plugin supports performance checking of code. Users can right-click on the selected code block and choose "Performance Check".
Afterward, the window will automatically open and return the relevant performance test results. Additionally, the optimized code and the original code will be automatically compared using diff in the editor, allowing users to optimize their code based on the results.
The overall capabilities of the plugin are context-dependent, but the context may be polluted, and OpenAI or other large models may have token limitations that result in errors when exceeded. Therefore, we provide the ability to clean up by clicking the clear button in the upper right corner of the window, which will clear the entire session.
Got questions or suggestions, please contact us via email at email@example.com.