RSP pattern does nothing

i have defined a following search and replace pattern:


should be replaced with:

$myEnumExpression$ != $myEnum$.NotSet

where $myEnumExpression$ is the expression with undefined type, and $type$ is type with undefined type. The pattern finds very quickly all code occurences in all big cs files. But replace does nothing. Whats wrong with it? Defining the type of expression or $type$  changes nothing on this behavior. Is there anywhere a documentation about when to use identifier vs type vs expression of type?

Please sign in to leave a comment.