---
title: Track to-dos in your code
project: Code
version: 2.0
section: guides
language: en
license: MIT
url: https://totaljs.es/docs/code/2-0/guides/todo/
updated: 2026-11-19T04:32:09.378Z
---

# Track to-dos in your code

> Collect the notes you leave in your code in one list.

Code collects the notes you leave in comments and lists them for you.

## Write a note

Add a marker to a comment in your code:

```js
// @todo add a welcome message
// @fixme read the items from a database
// @note the model is valid here
```

## Open the list

Click **To-Do list** at the top right of the screen, or choose **To-Do list** in the editor options.

![The To-Do list with a note from the file controllers/default.js and its line number](/files/Janvsm3AR61f.webp)

Each note shows its file and line number.
