# Add / Edit Filter Dialog

> **TL;DR**
> Windows and Linux: `File | Settings | TODO - Add/Edit Filter`
>
>
>
> macOS: `IntelliJ IDEA | Settings | TODO - Add/Edit Filter`
>
>
>
> `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) or ![the Settings button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.settings.svg)

Use this dialog to define filters that help track [TODO](using-todo.html) items in your source code.

| Item | Description |
| --- | --- |
| Name | In this field, specify the name of the filter. |
| Patterns | From the list of available patterns, choose the ones to be included in the filter by selecting the checkboxes next to them.  |

## See also

### Reference

[TODO](settings-todo.html) [Add / Edit Pattern Dialog](add-edit-pattern-dialog.html)  [Regular expression syntax reference](regular-expressions.html)

### Procedures

[Configuring the IDE](configuring-project-and-ide-settings.html)

