Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 85146

Summary: [Preferences] keywords: Only first word taken
Product: [Eclipse Project] Platform Reporter: Martin Aeschlimann <martinae>
Component: UIAssignee: Tod Creasey <Tod_Creasey>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P1 CC: dj.houghton
Version: 3.0   
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Martin Aeschlimann CLA 2005-02-14 10:43:08 EST
20050214
As discussed, I was adding keywords like:
<page
  name="%compliancePrefName"
  category="org.eclipse.jdt.ui.preferences.JavaBasePreferencePage"
  class="org.eclipse.jdt.internal.ui.preferences.CompliancePreferencePage"
  id="org.eclipse.jdt.ui.preferences.CompliancePreferencePage">
  <keywordReference id="org.eclipse.jdt.ui.compiler"/>
</page>

<extension point="org.eclipse.ui.keywords">
<keyword
  label="%preferenceKeywords.compiler"
  id="org.eclipse.jdt.ui.compiler"/>
</extension> 

preferenceKeywords.compiler=Compliance Compatibilty 5.0

The filter dialog only reacts on 'Compliance', but not on 'Compatibilty'
Comment 1 DJ Houghton CLA 2005-02-17 09:09:57 EST
Tod, this might be the same as bug 84707. Not quite sure...
Comment 2 Martin Aeschlimann CLA 2005-04-28 12:04:31 EDT
E.g. for the JDT compiler error/warnings page I have defined the following:
      <keyword
            label="%preferenceKeywords.severities"
            id="org.eclipse.jdt.ui.severities"/>

preferenceKeywords.severities=java errors warnings ignore compiler options nls

IMO, typing one or more of these words, (case-insensitive matching) should
select the error/warnings page.
e.g.
java
Java
ignore

I'm not sure if a prefix should be enough
 wa 
I'm also not sure what happens with a wrong word
 ignore settings

Comment 3 Tod Creasey CLA 2005-04-28 14:55:59 EDT
Fixed in build >20050228
Comment 4 Tod Creasey CLA 2005-04-28 14:56:13 EDT
20050428
Comment 5 Tod Creasey CLA 2005-05-10 14:46:06 EDT
Verified in 20050510