# 添加/编辑筛选器对话框

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/zh-cn/help/idea/llms.txt).

> **TL;DR**
> Windows 和 Linux：  `文件 | 设置 | TODO - 添加/编辑过滤器`
>
>
>
> macOS：  `%instance% | 设置 | TODO - 添加/编辑筛选器`
>
>
>
> `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` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) 或 ![设置按钮](https://resources.jetbrains.com/help/img/idea/2026.3/app.expui.general.settings.svg)

使用此对话框定义过滤器以帮助跟踪源代码中的 [TODO](using-todo.html) 项目。

|  条目  |  描述  |
| --- | --- |
|  名称  |  在此字段中，指定过滤器的名称。  |
|  模式  |  从可用模式列表中，通过选中旁边的复选框来选择要包含在筛选器中的模式。  |

## See also

### 参考

[待办事项](settings-todo.html) [添加 / 编辑模式对话框](add-edit-pattern-dialog.html) [正则表达式语法参考](regular-expressions.html)

### 过程

[配置 IDE](configuring-project-and-ide-settings.html)

