Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #1310 - preference pages are not found when searching for "yaml" #1325

Merged
merged 1 commit into from
Sep 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion org.eclipse.wildwebdeveloper/plugin.properties
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,16 @@ YAMLPreferencePage.name=YAML (Wild Web Developer)
YAMLCompletionPreferencePage.name=Completion
YAMLFormatPreferencePage.name=Format
YAMLHoverPreferencePage.name=Hover
YAMLValidationPreferencePage.name=Validation
YAMLValidationPreferencePage.name=Validation

# preference keywords
preferenceKeywords.yaml=yaml
preferenceKeywords.js=js
preferenceKeywords.ts=ts
preferenceKeywords.javascript=javascript
preferenceKeywords.typescript=typescript
preferenceKeywords.css=css
preferenceKeywords.less=less
preferenceKeywords.scss=scss
preferenceKeywords.sass=sass
preferenceKeywords.html=html
66 changes: 58 additions & 8 deletions org.eclipse.wildwebdeveloper/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -276,12 +276,14 @@
class="org.eclipse.wildwebdeveloper.css.ui.preferences.CSSPreferencePage"
id="org.eclipse.wildwebdeveloper.css.ui.preferences.CSSPreferencePage"
name="%CSSPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.css" />
</page>
<page
category="org.eclipse.wildwebdeveloper.css.ui.preferences.CSSPreferencePage"
class="org.eclipse.wildwebdeveloper.css.ui.preferences.CSSCompletionPreferencePage"
id="org.eclipse.wildwebdeveloper.css.ui.preferences.CSSCompletionPreferencePage"
name="%CSSCompletionPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.css" />
</page>
<!-- Once https://github.com/microsoft/vscode/issues/164772 will be fixed, please uncomment this CSS format preference page to benefit with CSS formatting
<page
Expand All @@ -296,12 +298,14 @@
class="org.eclipse.wildwebdeveloper.css.ui.preferences.CSSHoverPreferencePage"
id="org.eclipse.wildwebdeveloper.css.ui.preferences.CSSHoverPreferencePage"
name="%CSSHoverPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.css" />
</page>
<page
category="org.eclipse.wildwebdeveloper.css.ui.preferences.CSSPreferencePage"
class="org.eclipse.wildwebdeveloper.css.ui.preferences.CSSValidationPreferencePage"
id="org.eclipse.wildwebdeveloper.css.ui.preferences.CSSValidationPreferencePage"
name="%CSSValidationPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.css" />
</page>
</extension>

Expand All @@ -312,12 +316,14 @@
class="org.eclipse.wildwebdeveloper.css.ui.preferences.less.LESSPreferencePage"
id="org.eclipse.wildwebdeveloper.css.ui.preferences.less.LESSPreferencePage"
name="%LESSPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.less" />
</page>
<page
category="org.eclipse.wildwebdeveloper.css.ui.preferences.less.LESSPreferencePage"
class="org.eclipse.wildwebdeveloper.css.ui.preferences.less.LESSCompletionPreferencePage"
id="org.eclipse.wildwebdeveloper.css.ui.preferences.less.LESSCompletionPreferencePage"
name="%LESSCompletionPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.less" />
</page>
<!-- Once https://github.com/microsoft/vscode/issues/164772 will be fixed, please uncomment this LESS format preference page to benefit with LESS formatting
<page
Expand All @@ -332,12 +338,14 @@
class="org.eclipse.wildwebdeveloper.css.ui.preferences.less.LESSHoverPreferencePage"
id="org.eclipse.wildwebdeveloper.css.ui.preferences.less.LESSHoverPreferencePage"
name="%LESSHoverPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.less" />
</page>
<page
category="org.eclipse.wildwebdeveloper.css.ui.preferences.less.LESSPreferencePage"
class="org.eclipse.wildwebdeveloper.css.ui.preferences.less.LESSValidationPreferencePage"
id="org.eclipse.wildwebdeveloper.css.ui.preferences.less.LESSValidationPreferencePage"
name="%LESSValidationPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.less" />
</page>
</extension>

Expand All @@ -348,12 +356,16 @@
class="org.eclipse.wildwebdeveloper.css.ui.preferences.scss.SCSSPreferencePage"
id="org.eclipse.wildwebdeveloper.css.ui.preferences.scss.SCSSPreferencePage"
name="%SCSSPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.scss" />
<keywordReference id="org.eclipse.wildwebdeveloper.sass" />
</page>
<page
category="org.eclipse.wildwebdeveloper.css.ui.preferences.scss.SCSSPreferencePage"
class="org.eclipse.wildwebdeveloper.css.ui.preferences.scss.SCSSCompletionPreferencePage"
id="org.eclipse.wildwebdeveloper.css.ui.preferences.scss.SCSSCompletionPreferencePage"
name="%SCSSCompletionPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.scss" />
<keywordReference id="org.eclipse.wildwebdeveloper.sass" />
</page>
<!-- Once https://github.com/microsoft/vscode/issues/164772 will be fixed, please uncomment this SCSS format preference page to benefit with SCSS formatting
<page
Expand All @@ -368,12 +380,16 @@
class="org.eclipse.wildwebdeveloper.css.ui.preferences.scss.SCSSHoverPreferencePage"
id="org.eclipse.wildwebdeveloper.css.ui.preferences.scss.SCSSHoverPreferencePage"
name="%SCSSHoverPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.scss" />
<keywordReference id="org.eclipse.wildwebdeveloper.sass" />
</page>
<page
category="org.eclipse.wildwebdeveloper.css.ui.preferences.scss.SCSSPreferencePage"
class="org.eclipse.wildwebdeveloper.css.ui.preferences.scss.SCSSValidationPreferencePage"
id="org.eclipse.wildwebdeveloper.css.ui.preferences.scss.SCSSValidationPreferencePage"
name="%SCSSValidationPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.scss" />
<keywordReference id="org.eclipse.wildwebdeveloper.sass" />
</page>
</extension>

Expand Down Expand Up @@ -447,44 +463,49 @@
<icon contentType="org.eclipse.wildwebdeveloper.html" icon="icons/htmlEditorIcon.png"/>
</extension>

<extension
point="org.eclipse.ui.genericeditor.reconcilers">
<reconciler
class="org.eclipse.wildwebdeveloper.html.autoinsert.HTMLAutoInsertReconciler"
contentType="org.eclipse.wildwebdeveloper.html">
</reconciler>
</extension>
<extension
point="org.eclipse.ui.genericeditor.reconcilers">
<reconciler
class="org.eclipse.wildwebdeveloper.html.autoinsert.HTMLAutoInsertReconciler"
contentType="org.eclipse.wildwebdeveloper.html">
</reconciler>
</extension>

<extension
point="org.eclipse.ui.preferencePages">
<page
class="org.eclipse.wildwebdeveloper.html.ui.preferences.HTMLPreferencePage"
id="org.eclipse.wildwebdeveloper.html.ui.preferences.HTMLPreferencePage"
name="%HTMLPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.html" />
</page>
<page
category="org.eclipse.wildwebdeveloper.html.ui.preferences.HTMLPreferencePage"
class="org.eclipse.wildwebdeveloper.html.ui.preferences.HTMLCompletionPreferencePage"
id="org.eclipse.wildwebdeveloper.html.ui.preferences.HTMLCompletionPreferencePage"
name="%HTMLCompletionPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.html" />
</page>
<page
category="org.eclipse.wildwebdeveloper.html.ui.preferences.HTMLPreferencePage"
class="org.eclipse.wildwebdeveloper.html.ui.preferences.HTMLFormatPreferencePage"
id="org.eclipse.wildwebdeveloper.html.ui.preferences.HTMLFormatPreferencePage"
name="%HTMLFormatPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.html" />
</page>
<page
category="org.eclipse.wildwebdeveloper.html.ui.preferences.HTMLPreferencePage"
class="org.eclipse.wildwebdeveloper.html.ui.preferences.HTMLHoverPreferencePage"
id="org.eclipse.wildwebdeveloper.html.ui.preferences.HTMLHoverPreferencePage"
name="%HTMLHoverPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.html" />
</page>
<page
category="org.eclipse.wildwebdeveloper.html.ui.preferences.HTMLPreferencePage"
class="org.eclipse.wildwebdeveloper.html.ui.preferences.HTMLValidationPreferencePage"
id="org.eclipse.wildwebdeveloper.html.ui.preferences.HTMLValidationPreferencePage"
name="%HTMLValidationPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.html" />
</page>
</extension>

Expand Down Expand Up @@ -689,32 +710,44 @@
class="org.eclipse.wildwebdeveloper.jsts.ui.preferences.JSTSPreferencePage"
id="org.eclipse.wildwebdeveloper.jsts.ui.preferences.JSTSPreferencePage"
name="%JSTSPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.js" />
<keywordReference id="org.eclipse.wildwebdeveloper.ts" />
<keywordReference id="org.eclipse.wildwebdeveloper.javascript" />
<keywordReference id="org.eclipse.wildwebdeveloper.typescript" />
</page>
<!-- JavaScript -->
<page
category="org.eclipse.wildwebdeveloper.jsts.ui.preferences.JSTSPreferencePage"
class="org.eclipse.wildwebdeveloper.jsts.ui.preferences.javascript.JavaScriptPreferencePage"
id="org.eclipse.wildwebdeveloper.jsts.ui.preferences.javascript.JavaScriptPreferencePage"
name="%JavaScriptPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.js" />
<keywordReference id="org.eclipse.wildwebdeveloper.javascript" />
</page>
<page
category="org.eclipse.wildwebdeveloper.jsts.ui.preferences.javascript.JavaScriptPreferencePage"
class="org.eclipse.wildwebdeveloper.jsts.ui.preferences.javascript.JavaScriptInlayHintPreferencePage"
id="org.eclipse.wildwebdeveloper.jsts.ui.preferences.javascript.JavaScriptInlayHintPreferencePage"
name="%JavaScriptInlayHintPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.js" />
<keywordReference id="org.eclipse.wildwebdeveloper.javascript" />
</page>
<!-- TypeScript -->
<page
category="org.eclipse.wildwebdeveloper.jsts.ui.preferences.JSTSPreferencePage"
class="org.eclipse.wildwebdeveloper.jsts.ui.preferences.typescript.TypeScriptPreferencePage"
id="org.eclipse.wildwebdeveloper.jsts.ui.preferences.typescript.TypeScriptPreferencePage"
name="%TypeScriptPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.ts" />
<keywordReference id="org.eclipse.wildwebdeveloper.typescript" />
</page>
<page
category="org.eclipse.wildwebdeveloper.jsts.ui.preferences.typescript.TypeScriptPreferencePage"
class="org.eclipse.wildwebdeveloper.jsts.ui.preferences.typescript.TypeScriptInlayHintPreferencePage"
id="org.eclipse.wildwebdeveloper.jsts.ui.preferences.typescript.TypeScriptInlayHintPreferencePage"
name="%TypeScriptInlayHintPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.ts" />
<keywordReference id="org.eclipse.wildwebdeveloper.typescript" />
</page>
</extension>

Expand Down Expand Up @@ -759,7 +792,7 @@
scopeName="source.vue">
</scopeNameContentTypeBinding>
<grammar
path="grammars/vue/markdown-vue.json"
scopeName="markdown.vue.codeblock">
</grammar>
Expand Down Expand Up @@ -853,30 +886,35 @@
class="org.eclipse.wildwebdeveloper.yaml.ui.preferences.YAMLPreferencePage"
id="org.eclipse.wildwebdeveloper.yaml.ui.preferences.YAMLPreferencePage"
name="%YAMLPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.yaml" />
</page>
<page
category="org.eclipse.wildwebdeveloper.yaml.ui.preferences.YAMLPreferencePage"
class="org.eclipse.wildwebdeveloper.yaml.ui.preferences.YAMLCompletionPreferencePage"
id="org.eclipse.wildwebdeveloper.yaml.ui.preferences.YAMLCompletionPreferencePage"
name="%YAMLCompletionPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.yaml" />
</page>
<page
category="org.eclipse.wildwebdeveloper.yaml.ui.preferences.YAMLPreferencePage"
class="org.eclipse.wildwebdeveloper.yaml.ui.preferences.YAMLFormatPreferencePage"
id="org.eclipse.wildwebdeveloper.yaml.ui.preferences.YAMLFormatPreferencePage"
name="%YAMLFormatPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.yaml" />
</page>
<page
category="org.eclipse.wildwebdeveloper.yaml.ui.preferences.YAMLPreferencePage"
class="org.eclipse.wildwebdeveloper.yaml.ui.preferences.YAMLHoverPreferencePage"
id="org.eclipse.wildwebdeveloper.yaml.ui.preferences.YAMLHoverPreferencePage"
name="%YAMLHoverPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.yaml" />
</page>
<page
category="org.eclipse.wildwebdeveloper.yaml.ui.preferences.YAMLPreferencePage"
class="org.eclipse.wildwebdeveloper.yaml.ui.preferences.YAMLValidationPreferencePage"
id="org.eclipse.wildwebdeveloper.yaml.ui.preferences.YAMLValidationPreferencePage"
name="%YAMLValidationPreferencePage.name">
<keywordReference id="org.eclipse.wildwebdeveloper.yaml" />
</page>
</extension>

Expand Down Expand Up @@ -1227,5 +1265,17 @@
contentTypeId="org.eclipse.wildwebdeveloper.parent">
</contentTypeBinding>
</extension>
<extension point="org.eclipse.ui.keywords">
<keyword label="%preferenceKeywords.yaml" id="org.eclipse.wildwebdeveloper.yaml" />
<keyword label="%preferenceKeywords.js" id="org.eclipse.wildwebdeveloper.js" />
<keyword label="%preferenceKeywords.ts" id="org.eclipse.wildwebdeveloper.ts" />
<keyword label="%preferenceKeywords.javascript" id="org.eclipse.wildwebdeveloper.javascript" />
<keyword label="%preferenceKeywords.typescript" id="org.eclipse.wildwebdeveloper.typescript" />
<keyword label="%preferenceKeywords.css" id="org.eclipse.wildwebdeveloper.css" />
<keyword label="%preferenceKeywords.less" id="org.eclipse.wildwebdeveloper.less" />
<keyword label="%preferenceKeywords.sass" id="org.eclipse.wildwebdeveloper.sass" />
<keyword label="%preferenceKeywords.scss" id="org.eclipse.wildwebdeveloper.scss" />
<keyword label="%preferenceKeywords.html" id="org.eclipse.wildwebdeveloper.html" />
</extension>

</plugin>
Loading