Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Platform - User Assistance (UA) » Newbie help content search question
Newbie help content search question [message #473592] Sun, 27 April 2008 17:53 Go to next message
Eclipse UserFriend
Originally posted by: msamet.gmail.com

Hi,

I have a newbie question about eclipse and searching for help content.
I'm running the standard JDT. Currently when I'm coding something like
this:

String foo = null;

And highlight the word "String", and press F1, a "Related Topics" help
view comes up, populated with "About Java Editor" and "Dynamic Help".

What I'd like to see is, upon pressing F1, help view starts to search for
any HTML content in any scope (or the current active scope).

So for example, upon highlighting "String" and hitting F1, search results
would list "java.lang.string" as one of the clickable entries. (FYI, I
have a custom-made help plugin that lists the JDK6 javadocs inside the
help view.) Searching this content works, but it's currently not hooked
up to F1 and searching for the item under the cursor.

I know that the default behavior of F1 is context-sensitive, i.e. open the
view that's associated with the plugin (in this case, JDT). Unfortunately
though, "About java editor" is rather useless to me as I already know how
to use it. Searching for actual help content (API reference, etc) would
be a VERY nice thing to have, and would make my life easier. Why isn't
this kind of thing already in eclipse? Have people had to go to external
web browsers (etc) for all their documentation?

Thanks,
-Matt
Re: Newbie help content search question [message #473678 is a reply to message #473592] Wed, 30 April 2008 21:22 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
That is an interesting suggestion, you might want to file an enhancement
request in Bugzilla. The help system is aware of which widget was
selection, I'm not sure how easy or otherwise it would be to get the
selected text from an editor.
Re: Newbie help content search question [message #613203 is a reply to message #473592] Wed, 30 April 2008 21:22 Go to previous message
Chris Goldthorpe is currently offline Chris GoldthorpeFriend
Messages: 815
Registered: July 2009
Senior Member
That is an interesting suggestion, you might want to file an enhancement
request in Bugzilla. The help system is aware of which widget was
selection, I'm not sure how easy or otherwise it would be to get the
selected text from an editor.
Previous Topic:What's the relationship between the different index.jsp files in org.eclipse.help.webapp?
Next Topic:Convert doc-File to Eclipse Help
Goto Forum:
  


Current Time: Thu Apr 25 01:29:36 GMT 2024

Powered by FUDForum. Page generated in 0.06431 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top