[request] Smart search and replace plug-in
It would be very nice to be able to do a search and replace that would be case-sensitive yet replace several versions of the same string.
Let's say I have the following code
public void setValue(int value)
{
if (value < 0)
{
this.value = DEFAULT_VALUE;
}
else
{
this.value = value;
}
}
Now let's say I want to rename the method, parameters, etc. from value to cost. Now I need to do 3 search and replaces
value -> cost
Value -> Cost
VALUE -> COST
I find myself doing this kind of thing a lot, and it would be nice if the search and replace had an option that allowed me to do this in one search/replace action instead of 3. A plugin that does this would be very useful to many people I think.
Please sign in to leave a comment.
Ilya wrote:
Already there: Replace -> Preserve Case
That's very cool that it's already there for Aurora, thanks for pointing it out. But I think it would still be nice to have it as a plug-in for Ariadna, as not everyone is using Aurora.