# Commenting

## The basics

Comments in Overleaf allow users to add comments tied to specific lines of code in the editor. These comments appear in a sidebar and can be viewed, replied to, and resolved by all collaborators with access to the project.

### Accessing the comment feature

Highlight some text within the editor to comment on, once you have done so the 'Add comment' button appears. Select it and the review panel will open on the left hand side, there you can type your comment.

<figure><img src="/files/FADoCkbyQ1XlnYgHbMQi" alt=""><figcaption></figcaption></figure>

<figure><img src="/files/3E36drIOTzFX7SFpxzCa" alt=""><figcaption></figcaption></figure>

## Using comments

Once you or your collaborators have created a comment, you can resolve the comment by clicking on the checkmark ✓ attached to the comment. If you are looking to edit or delete your comment select the ellipsis menu ![](/files/CSuy7b3JtijRiFPYBmbz), and select 'Edit' or 'Delete'.

<figure><img src="/files/I75plQ9q4CyXMxOSxQ6B" alt=""><figcaption></figcaption></figure>

You may also access the list of resolved comments in your project by clicking on the resolved comments icon (![](/files/MvTx2Dqk0gPgoYikBbgj)) within the review panel.

<figure><img src="/files/qcV1x66TXEsgD7EmbcIe" alt=""><figcaption></figcaption></figure>

While viewing the resolved comments you are also able to delete the thread of comments by clicking on the trash icon (![](/files/yX4mMA4DSPW2hqRjFjWJ)), or re-open previously resolved comments by clicking on the 'Re-open' icon (![](/files/465Gn1SzKG11kYO1l6gO))

## Collaborative commenting

Collaborative commenting in Overleaf provides a streamlined way for teams to review and discuss a LaTeX document without making direct, permanent edits. This feature facilitates targeted feedback, allows collaborators to reply and resolve discussion threads, and ensures all project members can see, track, and manage input efficiently, keeping the document clean while collaboration is active.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.overleaf.com/collaborating/commenting.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
