> For the complete documentation index, see [llms.txt](https://docs.overleaf.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.overleaf.com/collaborating/commenting.md).

# 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.

## Notifications

{% hint style="info" %}
Email notifications on project activity must be enabled in your [Account Settings](https://www.overleaf.com/user/notification-preferences).
{% endhint %}

You can manage notification emails per project through the Project Settings (File > Settings > Project Notifications) for the following types of activity:

* **All project activity** - You’ll be notified about *all* comments (and [tracked changes](/collaborating/track-changes.md)).
* **Replies to your activity only** - You’ll be notified about activity on *your* comment replies (and tracked changes).

{% hint style="warning" icon="timer" %}
Notifications are not real-time, instead they are bundled in ten minute increments to avoid inbox overload.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
