WebStorm 2021.1 Help

Add / Edit Pattern Dialog

File | Settings | TODO - Add/Edit Pattern for Windows and Linux
WebStorm | Preferences | TODO - Add/Edit Pattern for macOS
Ctrl+Alt+S
the Settings/Preferences button

Use this dialog to define patterns that help track TODO items in your source code. Make sure the TODO items in the source code are inserted inside comments that are valid for the supported file types.

ItemDescription
PatternIn this field, type the regular expression that describes the desired TODO pattern.
IconFrom this list, choose an icon for the pattern.
Case sensitiveSelect this checkbox to make the pattern case-sensitive.
Font typeSelect the corresponding checkbox to have the icon text displayed in bold or italic.
ForegroundSelect this checkbox to enable the palette and choose the foreground color.
BackgroundSelect this checkbox to enable the palette and choose the background color.
Error Stripe MarkSelect this checkbox to enable the palette and choose the error stripe color.
EffectsSelect this checkbox to enable effects (underscore, strikethrough, and so on) and choose the color for them from the palette.
Last modified: 31 March 2021