Find/Replace - exclude constants
Find/Replace - exclude constants
Similar to the "Don't search in Comments" tick box on the Find/Replace dialog - I'd like to see a "Don't search in Constants" tick box, to ignore constant names.
Re: Find/Replace - exclude constants
Since constants always start with #, just check Whole Words only. You may have to s/r several times if you have several vars including the same phrase, but this will avoid constants.
Re: Find/Replace - exclude constants
That's the whole point, I can't use the Whole Words setting. This is an issue when refactoring code, as I'll be replacing partial words in the code - but, seeing as the constants have mostly have come from PB in the first place, the likelihood of me wanting to change them is low - so I'd like to be able to ignore them completely to save time in the process.
Re: Find/Replace - exclude constants
Sounds like you need to use regular expressions--I use them in Notepad++.
I'd help, but use them so seldomly that I have to read up every time I do.
I'd help, but use them so seldomly that I have to read up every time I do.