DataGrip 2019.1 Help

Add / Edit Pattern Dialog

File | Settings | TODO - Add/Edit Pattern for Windows and Linux
DataGrip | Preferences | TODO - Add/Edit Pattern for macOS
Ctrl+Alt+S
icons general settings svg

Use this dialog box 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.

Item

Description

Pattern

In this text box, type the regular expression that describes the desired TODO pattern.

Icon

From this drop-down list, choose an icon for the pattern.

Case sensitive

Select this check-box to make the pattern case-sensitive.

Font type

Select the corresponding checkbox to have the icon text displayed in bold or italic.

Foreground

Select this checkbox to enable the palette and choose the foreground color.

Background

Select this checkbox to enable the palette and choose the background color.

Error Stripe Mark

Select this checkbox to enable the palette and choose the error stripe color.

Effects

Select this checkbox to enable effects (underscore, strikethrough, etc.) and choose the color for them from the palette.

Last modified: 25 July 2019