From caa5d814c57240705174bac20dce2ee100eba6f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dawid=20Paku=C5=82a?= Date: Wed, 6 Sep 2023 13:22:57 +0200 Subject: [PATCH] Fix #1310 - preference pages are not found when searching for "yaml" MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Create basic keywords for WWD preference pages Signed-off-by: Dawid PakuĊ‚a --- .../plugin.properties | 14 +++- org.eclipse.wildwebdeveloper/plugin.xml | 66 ++++++++++++++++--- 2 files changed, 71 insertions(+), 9 deletions(-) diff --git a/org.eclipse.wildwebdeveloper/plugin.properties b/org.eclipse.wildwebdeveloper/plugin.properties index 6025ef1aae..14de05e8a7 100644 --- a/org.eclipse.wildwebdeveloper/plugin.properties +++ b/org.eclipse.wildwebdeveloper/plugin.properties @@ -50,4 +50,16 @@ YAMLPreferencePage.name=YAML (Wild Web Developer) YAMLCompletionPreferencePage.name=Completion YAMLFormatPreferencePage.name=Format YAMLHoverPreferencePage.name=Hover -YAMLValidationPreferencePage.name=Validation \ No newline at end of file +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 \ No newline at end of file diff --git a/org.eclipse.wildwebdeveloper/plugin.xml b/org.eclipse.wildwebdeveloper/plugin.xml index d7df29f6d8..a0d4d9bc5b 100644 --- a/org.eclipse.wildwebdeveloper/plugin.xml +++ b/org.eclipse.wildwebdeveloper/plugin.xml @@ -276,12 +276,14 @@ class="org.eclipse.wildwebdeveloper.css.ui.preferences.CSSPreferencePage" id="org.eclipse.wildwebdeveloper.css.ui.preferences.CSSPreferencePage" name="%CSSPreferencePage.name"> + + + + + + + + + + @@ -759,7 +792,7 @@ scopeName="source.vue"> @@ -853,30 +886,35 @@ class="org.eclipse.wildwebdeveloper.yaml.ui.preferences.YAMLPreferencePage" id="org.eclipse.wildwebdeveloper.yaml.ui.preferences.YAMLPreferencePage" name="%YAMLPreferencePage.name"> + + + + + @@ -1227,5 +1265,17 @@ contentTypeId="org.eclipse.wildwebdeveloper.parent"> + + + + + + + + + + + +