Learning Timeline
Key Insights
Benefits of the 'Check for Bugs' Feature
Codeium does more than just fix typos (like misspelled variable names); it understands the overall context of the code block to ensure the programming logic remains consistent after being fixed.
Iterative Control
Don't worry if the first result isn't perfect; you can continue interacting with the AI through the 'follow up' command until your code is completely error-free.
Prompts
Codeium Refactor Command
Target:
Codeium Refactor
Check for bugs
Step by Step
How to Automatically Fix Code Bugs
- Highlight the section of code that contains errors or typos.
- Click the 'Codeium Refactor' button that appears floating above the code block.
- Select or type the 'Check for bugs' command from the displayed menu options.
- Wait a moment while Codeium analyzes the code and generates suggested fixes.
- Review the suggested changes in the diff view to ensure the fix is accurate.
- Click the 'Accept' button at the top of the code block to apply the fix permanently.
- If the fix is not satisfactory, you can click 'Reject' or use the 'follow up' field to provide additional instructions to the AI.