/improve
Last updated
Was this helpful?
Last updated
Was this helpful?
/improve
provides suggestions to improve your code.
Use it to get insights and recommendations for improving code quality, maintainability, and performance, making the overall integrity and efficiency of your codebase better.
Open a file: Open a file in your project.
Activate Qodo Gen: Click the Qodo Gen logo in the Extensions bar.
Focus: Select the part of the code you want to improve. It could be a few lines of code, a method, an entire file, your local changes and more. Check out to learn more.
Call the Command: Type /improve
in the chatbox and hit the send key or click the arrow button.
(Optional) Add optional instructions: You can give Qodo Gen any specific guidelines.
Result! Qodo Gen will offer improvements for your code.
Apply improvements: click Preview code to view the changes offered by /improve
in your code editor. You can then choose to apply these changes.
(Optional) Continue your chat: To give Qodo Gen more instructions, just type a command or ask a question to keep chatting.
Given this code snippet: