/enhance
/enhance
beautifies and cleans your code.
Use it to enhance the quality, maintainability and performance of your code. Improve code readability, adhere to best practices, beautify code, add type hints, and enrich documentation.
Using /enhance
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 enhance. It could be a few lines of code, a method, an entire file, your local changes and more. Check out our Focus documentation to learn more.
Call the Command: Type
/enhance
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 analyze the selected code and return enhancement suggestions. You can apply the enhancements directly to your code: either accept all, apply them selectively, or modify them to better suit your needs.
(Optional) Continue your chat: To give Qodo Gen more instructions, just type a command or ask a question to keep chatting.
Example
Given this code snippet:
Command
Response
Last updated