How to extend "Find Usage" in default scope "Project files" ?

Hello,

I want to find usages of a Class with "Find Usage".
The class-reference (FQN) is found within XML files.
I want them to be found also into .json-Files

How can i configure that?

Sam

3 comments
Comment actions Permalink

open "find usages settings" (ctrl-alt-shift-f7), select "search for text occurrences"

0
Comment actions Permalink

Hello Sam,

You can customize search scope using Find in path - Edit | Find | Find in Path http://www.jetbrains.com/idea/webhelp/finding-and-replacing-text-in-project.html

0
Comment actions Permalink

thanks, i know these options and ways.
but i want IntelliJ to find the class like he finds it also in XML files.
With just simple "Find Usages" he finds Classes r.g. in the web.xml, also without checking "search in text occurances".
I want IntelliJ to find the class also in a .json file.

It seems to be not possible to configure that, because maybe IntelliJ does not Index ".json". files?!

Sam

0

Please sign in to leave a comment.