A tool to search and replace language constructs in source code, indifferent to formatting and comments. Structural Search & Replace is developed by JetBrains and available in IntelliJ IDEA, PhpStorm, WebStorm and Resharper.
Questions tagged [structural-search]
152 questions
0
votes
1 answer
IntelliJ 12.1 Community: Structural Search ... Not there?
I just cannot find this option anywhere (Using IntelliJ 12.1.4 Community). Despite furious googling, I can't find anything about this feature being removed, or being Ultimate only, or anything.
Edit > Find is supposed to have a "Search Structurally"…

fragorl
- 1,698
- 15
- 19
-2
votes
1 answer
Replace lots of similar method calls with single call to variable arity method
I have a whole load of method calls like this:
thing.doOneThing(a);
thing.doOneThing(b);
thing.doOneThing(c);
thing.doOneThing(d);
// ... etc
But the Thing class has an equivalent doManyThings method, so this could be rewritten…

Andy Turner
- 137,514
- 11
- 162
- 243