Find deprecated classes with Structural Search?

Just tried to find deprecated classes within the project using the following template:

IDEA immediately reports that nothing was found. :( However such classes do exist.

Moreover. Copied existing 'javadoc annotated class' template:

And it found nothing again. :(

What's wrong?

2 comments
Comment actions Permalink

Hi,

Please, take care of constraints / scope for your template variables,
IDEA optimizes global searching using word indexing, if you accidentally
have set text constraint for $Class$ to nonexistent word, then it finds
nothing.

Could you, please, provide sample class that is not found.
I wonder also what build is used.

Dmitry Cherniachenko wrote:

Just tried to find deprecated classes within the project using the following template:

 class $Class$ {
> }]]>

IDEA immediately reports that nothing was found. :( However such classes do exist.

Moreover. Copied existing 'javadoc annotated class' template:

 class $Class$ {
> }]]>

And it found nothing again. :(

What's wrong?



--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"

0
Comment actions Permalink

Here are constraints for variables.

TagValue
- Text constraints - none
- Occurencies count - 0..2147483647
- Expression constraints - none
- Script constraints - none

Class
- Text constraints - none
- Occurencies count - 1..1
- Expression constraints - none
- Script constraints - none
- This variable is target of the search = true
(however changing this to false still founds nothing)

And here is one of not found classes from the project:


I've also tried the following template:

Still nothing. :(

0

Please sign in to leave a comment.