Reputation: 82000
I'm having a gradle project with the following structure:
src
docs/asciidoc contains asciidoctor documents
main/java contains java source code (surprise)
test/java contains java source for tests
The AsciiDoctor documents reference classes in the src folders. When I rename classes in the source folders with IntelliJ Idea, I kind of expected it to propose changing the occurences of that name in the AsciiDoctor files as well, but it doesn't although I have the "Search in comments and Strings" checkbox checked.
Can I enable the desired behavior by some configuration?
Upvotes: 0
Views: 79
Reputation: 15518
At first I suspected it had something to do with the maven structure (/src/docs is not exactly standard but as far as I know there isn't an official suggestion anyway), but I remember about a second checkbox in the same interface (press SHIFT + F6 twice) Search for text occurrences
, and with that enabled it seems to work as expected, at least on IJ 14. Below a sample with both the scenarios and also with file under /src/resources & /src/docs
Upvotes: 1