Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How do I ask the tool on a specific line of a PR? #1608

Open
sharoneyal opened this issue Mar 5, 2025 · 1 comment
Open

How do I ask the tool on a specific line of a PR? #1608

sharoneyal opened this issue Mar 5, 2025 · 1 comment
Labels

Comments

@sharoneyal
Copy link

Git provider (optional)

None

System Info (optional)

No response

Issues details

And can I ask the tool on a line which is related on a line which is part of the PR?

@sharoneyal sharoneyal added the general label Mar 5, 2025
Copy link
Contributor

💡 Auto-generated documentation-based answer:

You can ask questions about specific lines in a PR using the /ask command directly from the PR's diff view. Here's how:

  1. Navigate to the "Files changed" tab in your PR
  2. Click on the '+' sign next to the line number you want to ask about
  3. To select multiple lines, click on the '+' sign of the first line and then hold and drag to select additional lines
  4. In the comment box, type /ask "your question"
  5. Press the "Add single comment" button

This will trigger the tool to answer your question specifically about the selected line(s) of code, using the PR's context to provide a relevant response.

Yes, you can ask about lines that are related to lines that are part of the PR. The tool will use the context of the PR to understand the relationships between different parts of the code.

Relevant Sources:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant