Bug 517536 - Contribute keywords to other plug-ins' preference pages
Summary: Contribute keywords to other plug-ins' preference pages
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.7   Edit
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-31 08:51 EDT by Carsten Reckord CLA
Modified: 2017-06-05 18:31 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carsten Reckord CLA 2017-05-31 08:51:47 EDT
Preference pages can declare keywords for filtering/search using the org.eclipse.ui.keywords extension point and associating them with the page using the <keywordReference> element of the org.eclipse.ui.preferencePages extension point. Currently, this is only possible within the extension definition of the contributed page itself. However, several pages contain contributions from various plug-ins, and it would be good for those plug-ins to add their own keywords to the page. 

As an example, see bug 502043, where we would have liked to add the "marketplace" keyword to the "File Associations" page, so that users looking for a way to change the "unassociated file types" behavior from the current "Search Marketplace" default can find it more easily.
Comment 1 Carsten Reckord CLA 2017-05-31 08:56:48 EDT
I'd be happy to work on a contribution if this is a viable suggestion.
Comment 2 Brian de Alwis CLA 2017-05-31 09:27:34 EDT
Sounds reasonable.  What do you see the extension contribution would look like?
Comment 3 Lars Vogel CLA 2017-05-31 09:28:44 EDT
I thought this works already?
Comment 4 Brian de Alwis CLA 2017-05-31 10:07:16 EDT
Carsten is asking to be able to do something like:

   <extension point="org.eclipse.ui.preferencePages"> 
      <reference page="com.xyz.prefpage1" keyword="xyz.Keyword" />
   </extension> 

to add a new keyword reference to a prefpane defined elsewhere.

If this ability is already available, it's not documented in the .preferencePages extension point.