PhpStorm 2016.2 Help

TODO

File | Settings | Editor | TODO for Windows and Linux
PhpStorm | Preferences | Editor | TODO for OS X
Ctrl+Alt+S
settings


In this page, configure filters to maintain your lists of TODO items in the TODO tool window and define TODO patterns to be used in filters.

Patterns

In this area, create and manage the list of available TODO patterns.

ItemDescription
IconThis read-only field displays the icon that is assigned to the current pattern. (This icon appears in the TODO tool window as a marker for the corresponding TODO items.)
Case sensitiveThis read-only check box indicates whether the current pattern is case sensitive or not.

The status is changed in the Edit Pattern dialog box.

PatternThis read-only field displays the regular expression that describes the TODO pattern. PhpStorm recognizes regular expressions in the source code against the specified patterns and displays them in the TODO tool window.
add (Alt+Insert) Use this icon or shortcut to open the Add Pattern dialog box, where you can create a new ToDo pattern by specifying a regular expression.
edit1 (Enter)Use this icon or shortcut to open the Edit Pattern dialog box, where you can modify the selected pattern.
delete (Alt+Delete)Use this icon or shortcut to remove the selected pattern from the list.

Filters

In this area, manage the list of available filters.

ItemDescription
NameThis read-only field shows a list of filter names.
PatternsThis read-only field shows the names of patterns included in the current filter. A filter can contain several patterns.
add (Alt+Insert)Use this icon or shortcut to open the Add Filter dialog box, where you can define a new filter.
edit1 (Enter)Use this icon or shortcut to open the Edit Filter dialog box, where you can edit the settings for the selected filter.
delete (Alt+Delete)Use this icon or shortcut to delete the selected filter.

See Also

Last modified: 24 November 2016