I want to search occurences of a string in my codebase. Alas, it appears both in variable names and within strings. I want to keep the variable names and change the occurrences in a string.
How to only search for a needle in a string?
There is special option available in PhpStorm v7 and newer (very easy to use):
Find in Path dialog (search across multiple files)
Quick find -- searches current file only: