[nobug] Add snippet view contributions for HTML
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 c1ddb78..824cbff 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 @@ 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 560d5f1..c12e393 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.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 = < +gt.label = > greater than +gt.content = > +ampersand.label = & ampersand +ampersand.content = & +doublequote.label = " double quotation mark +doublequote.content = " +singlequote.label = " apostrophe/single quotation mark +singlequote.content = ' +cent.label = ¢ cent +cent.content = ¢ +pound.label = £ pound sterling +pound.content = £ +euro.label = \u20AC euro +euro.content = € +yen.label = ¥ yen +yen.content = ¥ +copyright.label = © copyright +copyright.content = © +trademark.label = ® registered trademark +trademark.content = ® +checkmark.label = \u2713 checkmark +checkmark.content = ✓ +cross.label = \u2717 cross +cross.content = ✗ +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 3df0ea0..76b1a9e 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 0f92a89..5bcf934 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>