Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
deathaxe committed Oct 27, 2023
2 parents e30abd8 + 1c68e9c commit 38ddd85
Show file tree
Hide file tree
Showing 32 changed files with 124 additions and 4 deletions.
9 changes: 9 additions & 0 deletions PACKAGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ This file contains a list of possible packages you may need to install to see th

## Docker

- [Containerfile](https://packagecontrol.io/packages/Containerfile)
- [Dockerfile Syntax Highlighting](https://packagecontrol.io/packages/Dockerfile%20Syntax%20Highlighting)

## EditorConfig
Expand Down Expand Up @@ -119,6 +120,10 @@ This file contains a list of possible packages you may need to install to see th

- [DotENV](https://packagecontrol.io/packages/DotENV)

## Fabric Engine

- [FabricEngine](https://packagecontrol.io/packages/FabricEngine)

## Fortran

- [Fortran](https://packagecontrol.io/packages/Fortran)
Expand Down Expand Up @@ -171,6 +176,10 @@ This file contains a list of possible packages you may need to install to see th

- [Jinja2](https://packagecontrol.io/packages/Jinja2)

## JQ

- [JQ Syntax](https://packagecontrol.io/packages/JQ%20Syntax)

## Julia

- [Julia](https://packagecontrol.io/packages/Julia)
Expand Down
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ This package adds file-specific icons to Sublime Text for improved visual greppi

Its aims are:

* To be a `tmPreferences` storage for UI themes those support file-specific icons.
* To provide icons for themes those don't (fully) support file-specific icons.
* Provide globally available file type specific icons for each UI themes, whether they provide their own file type specific icons or not.

* Workaround a ST core bug, which causes no icons to be displayed for file types an installed but not selected/active theme provides definitions for via `tmPreferences` files.

* Display file icons, even if required syntax definition is not installed.

* Display specific icons for files, no dedicated syntax definition exists for.

If you have any problems, please search for a similar issue first, before creating [a new one][new-issue].

Expand Down
59 changes: 58 additions & 1 deletion icons/icons.json
Original file line number Diff line number Diff line change
Expand Up @@ -367,6 +367,29 @@
],
"color": "yellow"
},
"file_type_bun": {
"aliases": [
{
"base": "source.ts",
"extensions": [
"bun",
"lockdb"
],
"name": "TypeScript (Bun)",
"scope": "source.ts.bun"
},
{
"base": "source.toml",
"extensions": [
".bunfig.toml",
"bunfig.toml"
],
"name": "TOML (Bunfig)",
"scope": "source.toml.bunfig"
}
],
"color": "yellow"
},
"file_type_cabal": {
"color": "blue",
"syntaxes": [
Expand Down Expand Up @@ -789,6 +812,13 @@
],
"color": "sky",
"syntaxes": [
{
"extensions": [
"Containerfile"
],
"name": "Plain Text (Containerfile)",
"scope": "source.containerfile"
},
{
"extensions": [
"Dockerfile",
Expand Down Expand Up @@ -963,6 +993,15 @@
],
"color": "green"
},
"file_type_fabricengine": {
"color": "purple",
"syntaxes": [
{
"name": "Plain Text (Fabric)",
"scope": "source.fabricengine"
}
]
},
"file_type_fastq": {
"aliases": [
{
Expand Down Expand Up @@ -1467,6 +1506,18 @@
}
]
},
"file_type_jq": {
"color": "orange",
"syntaxes": [
{
"extensions": [
"jq"
],
"name": "Plain Text (JQ)",
"scope": "text.jq"
}
]
},
"file_type_js": {
"color": "yellow",
"syntaxes": [
Expand Down Expand Up @@ -1592,7 +1643,13 @@
"extensions": [
"copying",
"copyright",
"license"
"license",
"license.apache",
"license.bsd",
"license.mit",
"license.gpl",
"license.gpl2",
"license.gpl3"
],
"name": "Plain Text (License)",
"scope": "text.plain.license"
Expand Down
Binary file added icons/multi/file_type_bun.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/multi/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/multi/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/multi/file_type_fabricengine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/multi/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/multi/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/multi/file_type_jq.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/multi/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/multi/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/single/file_type_bun.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/single/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/single/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/single/file_type_fabricengine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/single/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/single/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/single/file_type_jq.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/single/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added icons/single/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions icons/svg/file_type_bun.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions icons/svg/file_type_fabricengine.svg
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 icons/svg/file_type_jq.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 12 additions & 0 deletions preferences/file_type_bun.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>scope</key>
<string>source.toml.bunfig, source.ts.bun</string>
<key>settings</key>
<dict>
<key>icon</key>
<string>file_type_bun</string>
</dict>
</dict>
</plist>
2 changes: 1 addition & 1 deletion preferences/file_type_docker.tmPreferences
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plist version="1.0">
<dict>
<key>scope</key>
<string>source.dockerfile, source.shell.docker, source.yaml.docker</string>
<string>source.containerfile, source.dockerfile, source.shell.docker, source.yaml.docker</string>
<key>settings</key>
<dict>
<key>icon</key>
Expand Down
12 changes: 12 additions & 0 deletions preferences/file_type_fabricengine.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>scope</key>
<string>source.fabricengine</string>
<key>settings</key>
<dict>
<key>icon</key>
<string>file_type_fabricengine</string>
</dict>
</dict>
</plist>
12 changes: 12 additions & 0 deletions preferences/file_type_jq.tmPreferences
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<plist version="1.0">
<dict>
<key>scope</key>
<string>text.jq</string>
<key>settings</key>
<dict>
<key>icon</key>
<string>file_type_jq</string>
</dict>
</dict>
</plist>
Empty file added tests/.bunfig.toml
Empty file.
Empty file added tests/Containerfile
Empty file.
Empty file added tests/file_type_bun.bun
Empty file.
Empty file added tests/file_type_jq.jq
Empty file.

0 comments on commit 38ddd85

Please sign in to comment.