Summary: | [search] Search for text in comments / string literals separately | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jon Skeet <skeet> |
Component: | Core | Assignee: | JDT-Core-Inbox <jdt-core-inbox> |
Status: | NEW --- | QA Contact: | |
Severity: | enhancement | ||
Priority: | P5 | CC: | julian.ruppel, lukas.eder, markus.kell.r, remy.suen |
Version: | 2.0 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: |
Description
Jon Skeet
2002-05-20 09:51:40 EDT
Text search is currently defined at platform level and doesn't know about Java. Cannot address for 2.0 There could be other/new Java "Search for" types: - String literal - Comment - Javadoc comment Moving to J Core for comment about such a Search enginge extension Not for 2.1 either. Reopen as LATER is deprecated... May be addressed while fixing bug 155013... After having worked on prototype for bug 155013, I realized that fine grain search only concern reference to java element, neither for string literal nor for text in comments... So, put back to low priority (similar as LATER)... *** Bug 337173 has been marked as a duplicate of this bug. *** See also bug 337200. *** Bug 485053 has been marked as a duplicate of this bug. *** It is hard to believe that this bug is reported in 2002, nevertheless, it is probably even more relevant now than it was back then... Especially finding references of java classes, methods, constructors etc. in String literals is a frequent use case when you deal with e.g. JPA JPQL or Spring Caching annotations. There are probably more valid examples in other frameworks. IntelliJ offers similar things https://stackoverflow.com/a/28720224/1239904 |