Bug 36253 - [search] Search for text in Javadoc
Summary: [search] Search for text in Javadoc
Status: NEW
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.1   Edit
Hardware: PC Windows 2000
: P5 enhancement with 2 votes (vote)
Target Milestone: ---   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 30713 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-04-08 17:13 EDT by Nick Edgar CLA
Modified: 2016-01-14 12:46 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Nick Edgar CLA 2003-04-08 17:13:22 EDT
2.1

It would be nice to be able to search for text in the Javadoc of types and 
members, and have the matches be presented in terms of Java members.
Alternatively, searching the whole body of a Java declaration would be fine.

What I was actually trying to do was to find all types and methods with "@since 
2.1".  I had to use text search, which only gives the matches in terms of the 
files, not the individual declarations.

More specialized support for searching Javadoc tags is another possibility.  
E.g. search for "2.1" in all @since tags.
Comment 1 Dirk Baeumer CLA 2003-04-09 04:39:40 EDT
There are plans to index "Javadoc" as well. But it is not yet clear how far 
this will go.
Comment 2 Dani Megert CLA 2003-04-24 08:40:01 EDT
*** Bug 30713 has been marked as a duplicate of this bug. ***
Comment 3 Sébastien Gandon CLA 2005-07-15 10:01:58 EDT
Yes this would be greatly usefull, I was look for a way to maximize a view
programatically, and tried to look for MAXIMIZE but nothing came up in the
javadoc or there are static fields names MAXIMIZE like : ActionFactory.MAXIMIZE
which I found thanks to the Eclipse site search but I spent a lot of looking for
APIs to do that and could not fing any.

The javadoc search would be of great help.

Comment 4 Nick Edgar CLA 2005-07-18 09:42:50 EDT
See bug 29840 for the zoom support.
Comment 5 Martin Aeschlimann CLA 2006-06-16 08:10:17 EDT
Moving to jdt.core to evaluate this.

There has been progress in 3.1 (I think) and all references or @link and @see are found.

I could imagine that Java search can search for certain tags, @since, or @category. 
Comment 6 Frederic Fusier CLA 2006-06-21 04:09:01 EDT
(In reply to comment #5)
> Moving to jdt.core to evaluate this.
> 
> There has been progress in 3.1 (I think) and all references or @link and @see
> are found.
> 
You are right. All types/methods/fields references done in all tags (ie. @see, @link, @throws/@exception, @value) are found using Java Search.

> I could imagine that Java search can search for certain tags, @since, or
> @category. 
> 
Yes this could be a good search template. We'll look at this while implementing bug 110157...
Comment 7 Frederic Fusier CLA 2006-11-08 03:55:40 EST
Defer
Comment 8 Frederic Fusier CLA 2007-06-21 10:51:45 EDT
Reopen as LATER is deprecated...
Comment 9 Frederic Fusier CLA 2007-06-21 10:53:03 EDT
Should be more addressed while fixing bug 155013 than bug 110157...
Comment 10 Frederic Fusier CLA 2007-08-14 05:06:48 EDT
After having worked on prototype for bug 155013, I realized that fine grain
search only concerns reference to java element, not text in comments...

So, put back to low priority (similar as LATER) as this enhancement will not be addressed while fixing bug 155013...