Pochi LogoPochi Docs

Inline Comments

Inline Comments let you leave feedback directly on the code generated by Pochi inside VS Code. Instead of re-explaining issues in chat, you can comment on specific lines in the diff, batch those comments, and send them back to Pochi for the right contextual fixes.

This feature is not your regular PR review system. It’s actual conversations with the LLM, attached to the code they refer to.

How to Use Inline Comments

1. Run a Prompt

Generate code or request changes like normal.

Please use Mermaid Chart instead of Vega Lite

2. Open the Diff

Once Pochi applies changes, open the diff view in VS Code: Pochi Models

In the diff, hover over a code line and click + to add a comment Pochi Models

3. Leave Feedback

Type your comment directly on the line where the issue exists.

Pochi Models

4. Add Multiple Comments

Leave comments across the file as needed. Each comment is automatically linked to its exact line + file path.

Pochi Models

5. Send Comments as a Batch

Once you’re done adding comments, submit them just like you would a review.

Click Submit Reviews to Pochi to send all line-level comments as a batch.

Pochi Models

This works the same way as submitting a review with empty messages, where the comments themselves are the request.

Pochi Models

If you want to add extra instructions or context, you can type an additional message in the chat box before submitting.

For example:

Please review my inline comments

or with extra guidance:

Apply these comments and also rename the handler for consistency

Pochi will process every line comment with context and update the code accordingly.