ReSharper Web Help

ReSharper | Options | Tools | To-do Items | Patterns | Create/Edit
Create Pattern dialog box
Item Description

Title

In this field, you should specify the pattern name.

Regular expression

In this field, enter a regular expression as a string, using the syntax similar to that of Perl.

Refer to java.util.regex documentation for details.

Case sensitive

Select this check box to look for matching to-do items considering their case.

In comments

Select this check box to look for to-do items in comments.

Example:

// TODO: Baltic, it happens!!!!!

In strings

Select this check box to look for to-do items in string literals.

Example:

[Ignore("TODO: RSRP-67377")][Test]
public void test07()
{
    DoNamedTest();
}

In identifiers

Select this check box to look for to-do items in names of methods, variables, fields, and other identifiers.

Examples:

private void OnPageGoForward(object todo, EventArgs e)

Color

In this drop-down list, select the color to denote matching to-do items in the To-do Explorer. In the color picker menu, you can either select a standard color or define a custom color.

Icon

In this drop-down list, select an icon to denote matching to-do items in the To-do Explorer.

See Also

Reference

External Links