Skip to content

Commit

Permalink
feat: add icons for java,md,xml,xsl files
Browse files Browse the repository at this point in the history
  • Loading branch information
sebthom committed Feb 16, 2024
1 parent 0565d40 commit 14f32f6
Show file tree
Hide file tree
Showing 12 changed files with 63 additions and 8 deletions.
8 changes: 4 additions & 4 deletions org.eclipse.tm4e.language_pack/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ for the [Eclipse IDE](https://eclipseide.org).
| HLSL (High-Level Shader Language) | file-extensions="cginc, compute, fx, fxh, hlsl, hlsli, psh, vsh" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/hlsl) [[upstream]](https://github.com/tgjones/shaders-tmLanguage/commit/87c0dca3a39170dbd7ee7e277db4f915fb2de14a)
| HTML | file-extensions="asp, aspx, ejs, htm, html, jshtm, jsp, mdoc, rhtml, shtml, volt, xht, xhtml" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/html) [[upstream]](https://github.com/textmate/html.tmbundle/commit/390c8870273a2ae80244dae6db6ba064a802f407)
| INI Config File | file-extensions="ini" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/ini) [[upstream]](https://github.com/textmate/ini.tmbundle/commit/2af0cbb0704940f967152616f2f1ff0aae6287a6)
| Java | file-extensions="jav, java" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/java) [[upstream]](https://github.com/redhat-developer/vscode-java/commit/5d224a552cf5f0f8ebccf69e43e2575ed2c13839)
| Java <img src="syntaxes/java/java.icon.png" width=16/> | file-extensions="jav, java" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/java) [[upstream]](https://github.com/redhat-developer/vscode-java/commit/5d224a552cf5f0f8ebccf69e43e2575ed2c13839)
| JavaScript | file-extensions="cjs, es6, js, mjs, pac"<br />file-names="jakefile" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/javascript) [[upstream]](https://github.com/microsoft/TypeScript-TmLanguage/commit/8c7482b94b548eab56da64dbfb30b82589b3f747)
| JavaScript JSX | file-extensions="jsx" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/javascript) [[upstream]](https://github.com/microsoft/TypeScript-TmLanguage/commit/8c7482b94b548eab56da64dbfb30b82589b3f747)
| JSON | file-extensions="bowerrc, css.map, geojson, har, ipynb, js.map, jscsrc, jslintrc, json, jsonld, ts.map, vuerc, webmanifest"<br />file-names=".watchmanconfig, composer.lock" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/json) [[upstream]](https://github.com/microsoft/vscode-JSON.tmLanguage/commit/9bd83f1c252b375e957203f21793316203f61f70)
Expand All @@ -56,7 +56,7 @@ for the [Eclipse IDE](https://eclipseide.org).
| Less | file-extensions="less" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/less) [[upstream]](https://github.com/atom/language-less/commit/87d4d59e8de6796b506b81a16e1dc1fafc99d30f)
| Lua | file-extensions="lua" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/lua) [[upstream]](https://github.com/sumneko/lua.tmbundle/commit/3a18700941737c3ab66ac5964696f141aee61800)
| Makefile | file-extensions="mak, mk"<br />file-names="GNUmakefile, Makefile, OCamlMakefile, makefile" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/make) [[upstream]](https://github.com/fadeevab/make.tmbundle/commit/1d4c0b541959995db098df751ffc129da39a294b)
| Markdown | file-extensions="markdn, markdown, md, mdown, mdtext, mdtxt, mdwn, mkd, workbook" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/markdown-basics) [[upstream]](https://github.com/microsoft/vscode-markdown-tm-grammar/commit/0a4b23580308fdcfb4ab7b526e3e13ba17d436fb)
| Markdown <img src="syntaxes/markdown/icon.png" width=16/> | file-extensions="markdn, markdown, md, mdown, mdtext, mdtxt, mdwn, mkd, workbook" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/markdown-basics) [[upstream]](https://github.com/microsoft/vscode-markdown-tm-grammar/commit/0a4b23580308fdcfb4ab7b526e3e13ba17d436fb)
| Objective-C | file-extensions="m" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/objective-c) [[upstream]](https://github.com/jeff-hykin/better-objc-syntax/commit/119b75fb1f4d3e8726fa62588e3b935e0b719294)
| Objective-C++ | file-extensions="mm" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/objective-c) [[upstream]](https://github.com/jeff-hykin/better-objcpp-syntax/commit/5a7eb15eee382dd5aa388bc04fdb60a0d2128e14)
| Perl | file-extensions="PL, pl, pm, pod, psgi, t" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/perl) [[upstream]](https://github.com/textmate/perl.tmbundle/commit/a85927a902d6e5d7805f56a653f324d34dfad53a)
Expand All @@ -79,8 +79,8 @@ for the [Eclipse IDE](https://eclipseide.org).
| TypeScript JSX | file-extensions="tsx" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/typescript-basics) [[upstream]](https://github.com/microsoft/TypeScript-TmLanguage/commit/8c7482b94b548eab56da64dbfb30b82589b3f747)
| Visual Basic | file-extensions="bas, brs, vb, vba, vbs" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/vb) [[upstream]](https://github.com/textmate/asp.vb.net.tmbundle/commit/72d44550b3286d0382d7be0624140cf97857ff69)
| VS Code Search Result <img src="syntaxes/search-result/icon.png" width=16/> | file-extensions="code-search" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/search-result)
| XML | file-extensions="ascx, atom, axaml, axml, bpmn, cpt, csl, csproj, csproj.user, dita, ditamap, dtd, dtml, ent, fsproj, fxml, iml, isml, jmx, launch, menu, mod, mxml, nuspec, opml, owl, proj, props, pt, publishsettings, pubxml, pubxml.user, rbxlx, rbxmx, rdf, rng, rss, shproj, storyboard, svg, targets, tld, tmx, vbproj, vbproj.user, vcxproj, vcxproj.filters, wsdl, wxi, wxl, wxs, xaml, xbl, xib, xlf, xliff, xml, xoml, xpdl, xsd, xul" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/xml) [[upstream]](https://github.com/atom/language-xml/commit/7bc75dfe779ad5b35d9bf4013d9181864358cb49)
| XSL | file-extensions="xsl, xslt" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/xml) [[upstream]](https://github.com/atom/language-xml/commit/507de2ee7daca60cf02e9e21fbeb92bbae73e280)
| XML <img src="syntaxes/xml/icon.png" width=16/> | file-extensions="ascx, atom, axaml, axml, bpmn, cpt, csl, csproj, csproj.user, dita, ditamap, dtd, dtml, ent, fsproj, fxml, iml, isml, jmx, launch, menu, mod, mxml, nuspec, opml, owl, proj, props, pt, publishsettings, pubxml, pubxml.user, rbxlx, rbxmx, rdf, rng, rss, shproj, storyboard, svg, targets, tld, tmx, vbproj, vbproj.user, vcxproj, vcxproj.filters, wsdl, wxi, wxl, wxs, xaml, xbl, xib, xlf, xliff, xml, xoml, xpdl, xsd, xul" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/xml) [[upstream]](https://github.com/atom/language-xml/commit/7bc75dfe779ad5b35d9bf4013d9181864358cb49)
| XSL <img src="syntaxes/xml/icon.png" width=16/> | file-extensions="xsl, xslt" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/xml) [[upstream]](https://github.com/atom/language-xml/commit/507de2ee7daca60cf02e9e21fbeb92bbae73e280)
| YAML | file-extensions="cff, eyaml, eyml, yaml, yaml-tmlanguage, yaml-tmpreferences, yaml-tmtheme, yml" | [1.85.2@microsoft/vscode](https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/yaml) [[upstream]](https://github.com/textmate/yaml.tmbundle/commit/e54ceae3b719506dba7e481a77cea4a8b576ae46)

<!-- END-GENERATED -->
Expand Down
8 changes: 4 additions & 4 deletions org.eclipse.tm4e.language_pack/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ <h2>About This Content</h2>
<td><a href="https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/ini">1.85.2@microsoft/vscode</a> <a href="https://github.com/textmate/ini.tmbundle/commit/2af0cbb0704940f967152616f2f1ff0aae6287a6">[upstream]</a>
</tr>
<tr>
<td>Java</td>
<td>Java <img src="syntaxes/java/java.icon.png" width=16/></td>
<td>file-extensions="jav, java"</td>
<td><a href="https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/java">1.85.2@microsoft/vscode</a> <a href="https://github.com/redhat-developer/vscode-java/commit/5d224a552cf5f0f8ebccf69e43e2575ed2c13839">[upstream]</a>
</tr>
Expand Down Expand Up @@ -208,7 +208,7 @@ <h2>About This Content</h2>
<td><a href="https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/make">1.85.2@microsoft/vscode</a> <a href="https://github.com/fadeevab/make.tmbundle/commit/1d4c0b541959995db098df751ffc129da39a294b">[upstream]</a>
</tr>
<tr>
<td>Markdown</td>
<td>Markdown <img src="syntaxes/markdown/icon.png" width=16/></td>
<td>file-extensions="markdn, markdown, md, mdown, mdtext, mdtxt, mdwn, mkd, workbook"</td>
<td><a href="https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/markdown-basics">1.85.2@microsoft/vscode</a> <a href="https://github.com/microsoft/vscode-markdown-tm-grammar/commit/0a4b23580308fdcfb4ab7b526e3e13ba17d436fb">[upstream]</a>
</tr>
Expand Down Expand Up @@ -323,12 +323,12 @@ <h2>About This Content</h2>
<td><a href="https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/search-result">1.85.2@microsoft/vscode</a>
</tr>
<tr>
<td>XML</td>
<td>XML <img src="syntaxes/xml/icon.png" width=16/></td>
<td>file-extensions="ascx, atom, axaml, axml, bpmn, cpt, csl, csproj, csproj.user, dita, ditamap, dtd, dtml, ent, fsproj, fxml, iml, isml, jmx, launch, menu, mod, mxml, nuspec, opml, owl, proj, props, pt, publishsettings, pubxml, pubxml.user, rbxlx, rbxmx, rdf, rng, rss, shproj, storyboard, svg, targets, tld, tmx, vbproj, vbproj.user, vcxproj, vcxproj.filters, wsdl, wxi, wxl, wxs, xaml, xbl, xib, xlf, xliff, xml, xoml, xpdl, xsd, xul"</td>
<td><a href="https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/xml">1.85.2@microsoft/vscode</a> <a href="https://github.com/atom/language-xml/commit/7bc75dfe779ad5b35d9bf4013d9181864358cb49">[upstream]</a>
</tr>
<tr>
<td>XSL</td>
<td>XSL <img src="syntaxes/xml/icon.png" width=16/></td>
<td>file-extensions="xsl, xslt"</td>
<td><a href="https://github.com/microsoft/vscode/tree/8b3775030ed1a69b13e4f4c628c612102e30a681/extensions/xml">1.85.2@microsoft/vscode</a> <a href="https://github.com/atom/language-xml/commit/507de2ee7daca60cf02e9e21fbeb92bbae73e280">[upstream]</a>
</tr>
Expand Down
16 changes: 16 additions & 0 deletions org.eclipse.tm4e.language_pack/plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -525,6 +525,10 @@
<languageConfiguration contentTypeId="org.eclipse.tm4e.language_pack.java" path="syntaxes/java/java.language-configuration.json" />
</extension>

<extension point="org.eclipse.ui.genericeditor.icons">
<icon contentType="org.eclipse.tm4e.language_pack.java" icon="syntaxes/java/java.icon.png"/>
</extension>

<extension point="org.eclipse.tm4e.ui.snippets">
<snippet name="Java Example" path="syntaxes/java/java.example.java" scopeName="source.java" />
</extension>
Expand Down Expand Up @@ -836,6 +840,10 @@
<languageConfiguration contentTypeId="org.eclipse.tm4e.language_pack.markdown" path="syntaxes/markdown/markdown.language-configuration.json" />
</extension>

<extension point="org.eclipse.ui.genericeditor.icons">
<icon contentType="org.eclipse.tm4e.language_pack.markdown" icon="syntaxes/markdown/icon.png"/>
</extension>

<extension point="org.eclipse.tm4e.ui.snippets">
<snippet name="Markdown Example" path="syntaxes/markdown/markdown.example.md" scopeName="text.html.markdown" />
</extension>
Expand Down Expand Up @@ -1350,6 +1358,10 @@
<languageConfiguration contentTypeId="org.eclipse.tm4e.language_pack.xml" path="syntaxes/xml/xml.language-configuration.json" />
</extension>

<extension point="org.eclipse.ui.genericeditor.icons">
<icon contentType="org.eclipse.tm4e.language_pack.xml" icon="syntaxes/xml/icon.png"/>
</extension>

<extension point="org.eclipse.tm4e.ui.snippets">
<snippet name="XML Example" path="syntaxes/xml/xml.example.xml" scopeName="text.xml" />
</extension>
Expand All @@ -1370,6 +1382,10 @@
<languageConfiguration contentTypeId="org.eclipse.tm4e.language_pack.xsl" path="syntaxes/xml/xsl.language-configuration.json" />
</extension>

<extension point="org.eclipse.ui.genericeditor.icons">
<icon contentType="org.eclipse.tm4e.language_pack.xsl" icon="syntaxes/xml/icon.png"/>
</extension>

<extension point="org.eclipse.tm4e.ui.snippets">
<snippet name="XSL Example" path="syntaxes/xml/xsl.example.xsl" scopeName="text.xml.xsl" />
</extension>
Expand Down
10 changes: 10 additions & 0 deletions org.eclipse.tm4e.language_pack/syntaxes/java/java.icon.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@

file|source
----|------
[java.icon.svg](java.icon.svg) | https://help.eclipse.org/latest/topic/org.eclipse.jdt.doc.user/images/org.eclipse.jdt.ui/obj16/jcu_resource_obj.svg
[java.icon.png](java.icon.png) | https://github.com/eclipse-jdt/eclipse.jdt.ui/blob/master/org.eclipse.jdt.ui/icons/full/obj16/jcu_resource_obj.png
[java.icon@2x.png](java.icon.png) | https://github.com/eclipse-jdt/eclipse.jdt.ui/blob/master/org.eclipse.jdt.ui/icons/full/obj16/jcu_resource_obj@2x.png

See also at https://help.eclipse.org/latest/index.jsp?topic=%2Forg.eclipse.jdt.doc.user%2Freference%2Fref-icons.htm:
- ![](https://help.eclipse.org/latest/topic/org.eclipse.jdt.doc.user/images/org.eclipse.jdt.ui/obj16/jcu_resource_obj.svg) &rarr; Java file which is not on a build path see
- ![](https://help.eclipse.org/latest/topic/org.eclipse.jdt.doc.user/images/org.eclipse.jdt.ui/obj16/jcu_obj.svg) &rarr; Compilation unit (*.java file)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 23 additions & 0 deletions org.eclipse.tm4e.language_pack/syntaxes/java/java.icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions org.eclipse.tm4e.language_pack/syntaxes/xml/icon.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@

file|source
----|------
[xml.icon.png](xml.icon.png) | https://github.com/eclipse-pde/eclipse.pde/blob/master/ui/org.eclipse.pde.ui/icons/obj16/generic_xml_obj.png
[xml.icon@2x.png](xml.icon@2x.png) | https://github.com/eclipse-pde/eclipse.pde/blob/master/ui/org.eclipse.pde.ui/icons/obj16/generic_xml_obj@2x.png

Binary file added org.eclipse.tm4e.language_pack/syntaxes/xml/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 14f32f6

Please sign in to comment.