braver / fileicons Goto Github PK
View Code? Open in Web Editor NEWFile icons for Sublime Text
Home Page: https://packagecontrol.io/packages/FileIcons
License: MIT License
File icons for Sublime Text
Home Page: https://packagecontrol.io/packages/FileIcons
License: MIT License
The icon actually used is not as saturated (which I actually prefer). Not sure what other icons don't visually match.
The Graphviz SVG is super-complex and not very readable at the size of a sidebar icon. Can we take the favicon from the graphviz.org website and adapt that instead?
Running npm install
produces the following errors:
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE package: '[email protected]',
npm WARN EBADENGINE required: { node: '^6.0.0' },
npm WARN EBADENGINE current: { node: 'v15.5.1', npm: '7.3.0' }
npm WARN EBADENGINE }
Running npm run build
also fails:
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c gulp
Hi,
I use your package on Sublime, and it's really cool that you make it available.
I was setting up a test directory in one of my Python projects and noticed that there was no icon for those files.
Do you think it would be possible to set-up ?
I can help if you need it. Just tell me what / how I can do it :-)
In any case, the images for test scenarios are available here:
With a quick CRTL + F
on test
you'll find the icons for test files in .js, .py, .rb, .sh etc.
Have a nice one.
Can we add an envelope icon (optionally with @
superimposed) for text.email
and text.eml
scopes?
I notice you have icons for some Microsoft files (Word, etc.) as well as an "archive" icon for zip-like files. Is there a way to use those, or are they hanging around but inaccessible?
Is it possible we can get .tsx icon? Currently shows the same icon as .ts
I have adptive theme and it changed literally nothing
not sure what it is for :(
Hi,
it's possible to make such theme for CudaText too, example is built in:
https://github.com/Alexey-T/CudaText/tree/master/app/data/filetypeicons/vscode_16x16
don't you want to make such filetypeicons from this repo?
.mjs
extensions can have the exact same icon as .js
extensions. They are basically JavaScript files that can be loaded as ES modules.
Projects like this one, that just work out of the box, make the ecosystem (of Sublime Text, and open-source in general) a better place. Thank you! ๐ ๐ฏ ๐ฅ
Sorry if this is a duplicate of #15 but I didn't want to comment on a closed years old issue.
In that issue it says:
So if you need ST to see a file type from the shebang, you need to update the syntax to do so. FileIcons only maps the syntax to an icon.
But I don't get a custom icon for any file without an extension even when all of those files have their syntax detected by Sublime via the first_line_match
section in the syntax definition and have the same syntax as the files with extensions that are properly detected by FileIcons.
I tried in both Sublime Text 3 and the more recent Sublime Text 4 release but have the same issue in both. I'm probably just misunderstanding the comment above but wanted to check.
Thanks!
For the FileIcons Mono variant, the color is currently incorporated in the PNG files, as defined in the https://github.com/braver/FileIcons/blob/mono/build/colors.json file used for building the PNGs. This means that it cannot be changed by users. And the enforced color might result in a poor contrast for 3rd-party themes.
This happens for example with my Brackets theme, if you look very closely, you can see that the icons are there and rendered correctly, but they are almost invisible, because I use almost the same color for the sidebar background:
I think there is a better way to apply the color for FileIcons Mono:
The PNGs must use pure white #ffffff
for the icon color, and then you can set the actual color via the texture tint
in the theme, i.e. in this case adjust the following line in all three provided theme files to "layer0.tint": "hsl(0, 0%, 50%)"
if you want to keep the same color
This would allow users of third-party themes to adjust the color to what they like (or also set a different color for Default & Adaptive themes).
Actually I have not tested it, because I don't have Rust installed at the moment, but I'm pretty confident that it should work. If you want, I could test it and provide a PR if you agree.
I'm using Git to sync my Packages/User
folder between computers. I followed this guide.
I'm using the "DAneo Classic" theme and wanted to use the FileIcons package with it. This works just fine, however it only works correctly if I follow the instructions under "Enable file icons for 3rd party themes".
Since the Packages/User
folder is the only folder being synced between computers, would it be possible to enable file icons for 3rd party themes using a configuration/theme override file inside the Packages/User
folder? I tried placing the theme file in the folder and also in Packages/User/FileIcons/theme
but it doesn't work.
Thanks for making these, I love these icons and been using them for quite a while.
Wanted to try out the grayscale version but after uninstalling the original package and installing FileIcons - Mono, the sidebar is still showing colored icons.
Sublime Text version 3175
Hi friend
There is no icon for language Harbour (old Clipper)
web site. https://harbour.github.io/
Thanks in advance
Jose.
I've managed to create this svg icon from the site's logo (https://odin-lang.org/logo.svg), basically extracted the first letter and changed the white to the brand blue color (unless this pkg has as predefined palette, wasn't sure).
There is another possible variant in the OLS package for VS Code.
https://github.com/DanielGavin/ols/blob/master/editors/vscode/fileicons/odin-file.svg
It's like "a file icon" but for those who use default/adaptive UI theme, right?
I tried with soda solarized dark theme and it didn't display any icon
support sublime text4๏ผ
Thanks for this!
I have a few files missing icons, but I think some should be sharing icons that already exist:
the theme that i am using it halcyon
svelte file are not saturated enough
i want to make them more saturated how can i achieve that #
i think editing this package need more docs
Here's what I'm seeing with this package and the Adaptive theme in ST3 build 3200:
I would expect files like postcss.config.js
and webpack.config.js
to use their specific icons instead of the generic JavaScript icon. Is this package working as intended, or is this only not working for me?
I can see in this package's file_type_webpack.tmPreferences
file that it depends on the scope being source.js.webpack
, but if this package doesn't do any of the complicated stuff that A File Icon
does, then I'm not sure how the webpack.config.js
file is supposed to have that scope.
I think the title says it all and I don't need to provide any screenshots or GIFs.
Would it be possible to detect the filetype via the shebang for files without extension? I'm poking around the repo now and don't see where the detection logic lives. If you could point out where I could find that, I might be able to submit a PR for this functionality. Thanks!
With regards to following statements in README.md majority of content is no longer valid.
Inspired by A File Icon, but simpler:
- Doesn't introduce "alias" languages like "Javascript (Gulpfile)"
- No runtime code: no manipulation of settings or themes, no restarting
- No configuration: just uses existing theme override behavior
Details:
- Doesn't introduce "alias" languages like "Javascript (Gulpfile)"
That's no longer true. With a look at syntaxes
folder of this package it provides "aliases", too. There are only few though and they can't be disabled.
- ... no manipulation of settings or themes, no restarting
- No configuration: just uses existing theme override behavior
Those exist for flexibility and don't need to be manipulated. I guess 99% of users are not even aware of them existing.
Title. It would be better if we were given the option to add our own svgs and corresponding filetypes.
Hi can you update sublime icon to the latest version, and switch to the blue and yellow python icon ? I know this is very specific, but I couldn't do it on my own as I have no Idea about svg.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.