IntelliJ Structural Search in PhpStorm to find 2 default statements within Switch block

67 Views Asked by At

I need to find all switch blocks which has 2 default cases:

switch (1) {
    default:
        echo "Default 1";
        break;
    default:
        echo "Default 2";
        break;
}

Trying this:

switch () {
$s$
default:
}
0

There are 0 best solutions below