Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNitin Dahyabhai2021-04-15 21:01:47 -0400
committerNitin Dahyabhai2021-04-15 21:01:47 -0400
commit92dfbcc15c436fb376f2b9ee4b38da42f15b03c3 (patch)
treeaf114b5b3baadbe470bc39f62b9b56e6c42cd551
parent7c8f3a75a0402e6087caad8a0164ac5263fa899c (diff)
downloadwebtools.sourceediting-92dfbcc15c436fb376f2b9ee4b38da42f15b03c3.tar.gz
webtools.sourceediting-92dfbcc15c436fb376f2b9ee4b38da42f15b03c3.tar.xz
webtools.sourceediting-92dfbcc15c436fb376f2b9ee4b38da42f15b03c3.zip
[nobug] Add snippet view contributions for HTML
-rwxr-xr-xweb/bundles/org.eclipse.wst.html.ui/META-INF/MANIFEST.MF2
-rw-r--r--web/bundles/org.eclipse.wst.html.ui/plugin.properties37
-rwxr-xr-xweb/bundles/org.eclipse.wst.html.ui/plugin.xml94
-rw-r--r--web/bundles/org.eclipse.wst.html.ui/pom.xml2
4 files changed, 131 insertions, 4 deletions
diff --git a/web/bundles/org.eclipse.wst.html.ui/META-INF/MANIFEST.MF b/web/bundles/org.eclipse.wst.html.ui/META-INF/MANIFEST.MF
index c1ddb784e2..824cbffc1c 100755
--- a/web/bundles/org.eclipse.wst.html.ui/META-INF/MANIFEST.MF
+++ b/web/bundles/org.eclipse.wst.html.ui/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.wst.html.ui; singleton:=true
-Bundle-Version: 1.1.501.qualifier
+Bundle-Version: 1.1.600.qualifier
Bundle-Activator: org.eclipse.wst.html.ui.internal.HTMLUIPlugin
Bundle-Vendor: %providerName
Bundle-Localization: plugin
diff --git a/web/bundles/org.eclipse.wst.html.ui/plugin.properties b/web/bundles/org.eclipse.wst.html.ui/plugin.properties
index 560d5f1378..c12e39355b 100644
--- a/web/bundles/org.eclipse.wst.html.ui/plugin.properties
+++ b/web/bundles/org.eclipse.wst.html.ui/plugin.properties
@@ -86,4 +86,39 @@ proposalCategory.htmlTemplates=HTML Template Proposals
proposalCategory.generic = Generic HTML Proposals
HideComments.label=Comments
-HideComments.description=Hides Comments \ No newline at end of file
+HideComments.description=Hides Comments
+
+nbsp.label = non-breaking space
+nbsp.content =  
+lt.label = < less than
+lt.content = &lt;
+gt.label = > greater than
+gt.content = &gt;
+ampersand.label = & ampersand
+ampersand.content = &amp;
+doublequote.label = " double quotation mark
+doublequote.content = &quot;
+singlequote.label = " apostrophe/single quotation mark
+singlequote.content = &apos;
+cent.label = cent
+cent.content = &cent;
+pound.label = pound sterling
+pound.content = &pound;
+euro.label = \u20AC euro
+euro.content = &euro;
+yen.label = yen
+yen.content = &yen;
+copyright.label = copyright
+copyright.content = &copy;
+trademark.label = registered trademark
+trademark.content = &reg;
+checkmark.label = \u2713 checkmark
+checkmark.content = &checkmark;
+cross.label = \u2717 cross
+cross.content = &cross;
+dl.label = definition list
+dl.content = <dl>\n <dt> First definition</dt> <dd> First explanation</dd>\n <dt> Second definition</dt> <dd> Second explanation</dd>\n</dl>\n
+smiley.label = \uD83D\uDE42 slightly smiling face
+smiley.content = \uD83D\uDE42
+
+category.label = HTML \ No newline at end of file
diff --git a/web/bundles/org.eclipse.wst.html.ui/plugin.xml b/web/bundles/org.eclipse.wst.html.ui/plugin.xml
index 3df0ea024f..76b1a9e015 100755
--- a/web/bundles/org.eclipse.wst.html.ui/plugin.xml
+++ b/web/bundles/org.eclipse.wst.html.ui/plugin.xml
@@ -806,5 +806,97 @@
<themeid refid="org.eclipse.e4.ui.css.theme.e4_dark"></themeid>
</stylesheet>
</extension>
-
+
+ <!--======================================================================================-->
+ <!-- Snippet View contributions -->
+ <!--======================================================================================-->
+ <extension
+ point="org.eclipse.wst.common.snippets.SnippetContributions">
+ <category
+ label="%category.label"
+ smallicon="icons/full/obj16/tag-html.gif"
+ id="org.eclipse.wst.html.ui.category0"
+ contenttypes="org.eclipse.wst.html.core.htmlsource,org.eclipse.wildwebdeveloper.html">
+ <item
+ label="%nbsp.label"
+ id="org.eclipse.wst.html.ui.nbsp">
+ <content>%nbsp.content</content>
+ </item>
+ <item
+ label="%lt.label"
+ id="org.eclipse.wst.html.ui.lt">
+ <content>%lt.content</content>
+ </item>
+ <item
+ label="%gt.label"
+ id="org.eclipse.wst.html.ui.gt">
+ <content>%gt.content</content>
+ </item>
+ <item
+ label="%ampersand.label"
+ id="org.eclipse.wst.html.ui.amp">
+ <content>%ampersand.content</content>
+ </item>
+ <item
+ label="%doublequote.label"
+ id="org.eclipse.wst.html.ui.quote">
+ <content>%doublequote.content</content>
+ </item>
+ <item
+ label="%doublequote.label"
+ id="org.eclipse.wst.html.ui.apos">
+ <content>%doublequote.content</content>
+ </item>
+ <item
+ label="%dl.label"
+ id="org.eclipse.wst.html.ui.apos">
+ <content>%dl.content</content>
+ </item>
+ <item
+ label="%checkmark.label"
+ id="org.eclipse.wst.html.ui.yen">
+ <content>%checkmark.content</content>
+ </item>
+ <item
+ label="%cross.label"
+ id="org.eclipse.wst.html.ui.yen">
+ <content>%cross.content</content>
+ </item>
+ <item
+ label="%copyright.label"
+ id="org.eclipse.wst.html.ui.copy">
+ <content>%copyright.content</content>
+ </item>
+ <item
+ label="%trademark.label"
+ id="org.eclipse.wst.html.ui.reg">
+ <content>%trademark.content</content>
+ </item>
+ <item
+ label="%cent.label"
+ id="org.eclipse.wst.html.ui.cent">
+ <content>%cent.content</content>
+ </item>
+ <item
+ label="%pound.label"
+ id="org.eclipse.wst.html.ui.pound">
+ <content>%pound.content</content>
+ </item>
+ <item
+ label="%euro.label"
+ id="org.eclipse.wst.html.ui.euro">
+ <content>%euro.content</content>
+ </item>
+ <item
+ label="%yen.label"
+ id="org.eclipse.wst.html.ui.yen">
+ <content>%yen.content</content>
+ </item>
+ <item
+ label="%smiley.label"
+ id="org.eclipse.wst.html.ui.yen">
+ <content>%smiley.content</content>
+ </item>
+ </category>
+ </extension>
</plugin>
diff --git a/web/bundles/org.eclipse.wst.html.ui/pom.xml b/web/bundles/org.eclipse.wst.html.ui/pom.xml
index 0f92a89830..5bcf93477c 100644
--- a/web/bundles/org.eclipse.wst.html.ui/pom.xml
+++ b/web/bundles/org.eclipse.wst.html.ui/pom.xml
@@ -21,6 +21,6 @@
<groupId>org.eclipse.webtools.sourceediting</groupId>
<artifactId>org.eclipse.wst.html.ui</artifactId>
- <version>1.1.501-SNAPSHOT</version>
+ <version>1.1.600-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>

Back to the top