Bug 532002

Summary: PreferencePage extension to allow giving a list of "referencedPreference"
Product: [Eclipse Project] Platform Reporter: Mickael Istria <mistria>
Component: UIAssignee: Platform-UI-Inbox <Platform-UI-Inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: daniel_megert, lbullen
Version: 4.7   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:
Bug Depends on:    
Bug Blocks: 532005    

Description Mickael Istria CLA 2018-03-05 04:38:39 EST
In order to make it easier to find a preference page to change a preference in the IDE, the preferencePage extension could allow some "referencedPreference" children declaring which performance it can set.
Then we could introduce an API such 
* PreferenceUtil.findPreferencePagesFor(preferenceId)
* PreferenceUtil.createPreferenceDialogFor(preferenceId, shell)

For preference pages which use the PreferenceFields, it would allow to log cases of a preference page bound to a preference but not declaring it.

On a longer run, if we implement keywords or label for preferences, it would also enable smarter search of preference: user would only type a keyword for a preference and we could show the pages which have a preference related to this keyword.
That would reduce the need for preferencePage keywords and provide a more generic solution that could also show up in quick assist for instance.