Skip to content

Commit

Permalink
Add Documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
hussam789 committed Feb 15, 2024
1 parent fff52e9 commit 8ed98c8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docs/ASK.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,13 @@ ___
<kbd><img src=https://codium.ai/images/pr_agent/ask.png width="768"></kbd>
___

## Ask lines
You can run `/ask` on specific lines of code in the PR from the PR's diff view. The tool will answer questions based on the code changes in the selected lines.
- Click on the + sign next to the line number to select the line.
- To select multiple lines, click on the + sign of the first line and then hold and drag to select the rest of the lines.
- write `/ask "..."` in the comment box and press `Add single comment` button.

<kbd><img src=https://codium.ai/images/pr_agent/Ask_line.png width="768"></kbd>


Note that the tool does not have "memory" of previous questions, and answers each question independently.

0 comments on commit 8ed98c8

Please sign in to comment.