/explain
Last updated
Was this helpful?
Last updated
Was this helpful?
/explain
provides a detailed explanation of your codebase.
Use it to understand complicated or unfamiliar code, identify potential issues and know your project 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 need an explanation for. It could be a few lines of code, a method, an entire file and more. Check out to learn more.
Call the Command: Type /explain
in the chatbox and hit the send key or click the arrow button.
(Optional) Add optional instructions: you can ask Qodo Gen anything you want some elaboration on.
Result! Qodo Gen will explain your code to you.
(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: