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?
Please sign in to leave a comment.
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:
--
Best regards,
Maxim Mossienko
IntelliJ Labs / JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"
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. :(