/enhance
Description
Use /enhance
command to get suggestions for code enhancements. Qodo Gen analyzes your code and provides recommendations to enhance the quality, maintainability, and performance of your code. This includes improving code readability, adhering to best practices, beautifying code, adding type hints, and enhancing documentation.
How to Use
To use the /enhance
command, follow these steps:
-
Select Current File Focus: The
/enhance
command is available in Current File Focus, tailored for targeted code enhancement within a specific file. -
Select Your Secondary Focus: Choose the segment of code you wish to enhance. This precise selection ensures that Qodo Gen provides relevant and actionable suggestions for improving your code.
-
Initiate the Command: Type
/enhance
in the chat interface. Qodo Gen will analyze the selected code segment and return a set of enhancement suggestions. -
Review and Apply: Qodo Gen will generate a diff view with all enhancment suggestions. Review these suggestions and apply them directly to your code with ease. You have the option to accept all recommendations, apply them selectively, or modify them to better suit your needs before implementation.
Available in