GithubHelp home page GithubHelp logo

fileicons's Introduction

Hoi

I'm Koen, known online mostly as "braver" (because I'm more brave online than in reality ๐Ÿ˜‰).

๐Ÿข I currently work at CultureSuite on the Peppered platform.
๐Ÿ‘จโ€๐Ÿ’ป I built Programming Fonts, the interactive list of all the programming fonts...
๐Ÿ’ป ... maintain the package index for Sublime Text
โŒจ๏ธ ... and have created packages like SideBarTools, FileIcons, and ColorHints, and made major contributions to Sass/SCSS, Less, SublimeLinter - too many to name them all.

fileicons's People

Contributors

braver avatar dependabot[bot] avatar eddietejeda avatar erazor-de avatar etigerstudio avatar imciner2 avatar jackwilliams-fracturesounds avatar jamesnzl avatar jwortmann avatar lra avatar matthewmcgarvey avatar michaelblyons avatar nickhstr avatar rchl avatar sharunkumar avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

fileicons's Issues

can figure out exactly how to customize ?

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

gulp-svg2png does not work with newer node versions

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

tsx icon

Is it possible we can get .tsx icon? Currently shows the same icon as .ts

README

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
  1. A File Icon doesn't manipulate settings!
  2. Changes are applied on the fly. No restarting has been required for ages.
  3. Your plugin applies "theme patches" very much the same way as A File Icon, but does so statically for a very limited set of default themes only. The reason for A File Icon's runtime code is to provide patches for all themes instead of just supporting the Default ones.
  • 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.

Email icon

Can we add an envelope icon (optionally with @ superimposed) for text.email and text.eml scopes?

I am viewing windows kind of icon for python files.

I don't know what happened, but I am not able to correct this. I could view the correct icon for my python file but after some time it changes to a completely different one. Please help be correct it. For reference, I have attached a screenshot below.

Screenshot (141)

Missing Icons

Thanks for this plugin :)

I installed it in ST3 build 3143 and some icons are missing.

Is anything else that needs to be done?

screenshot from 2018-04-17 21-15-02

Thank you!

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! ๐Ÿ‘ ๐Ÿ’ฏ ๐Ÿฅ‡

Improve python and sublime icons

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.

No icon for .mp3 files

Title. It would be better if we were given the option to add our own svgs and corresponding filetypes.

Missing icons when no file extension

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!

Add Icons for Testfiles

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.

Shebang detection

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!

Simpler Graphviz icon

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?

Make color for mono icons configurable

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:

icons

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

"layer0.tint": [255, 255, 255],

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.

Installing the mono version is still showing colorful icons

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

Not using specific icons

Here's what I'm seeing with this package and the Adaptive theme in ST3 build 3200:

sublime-icons

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.

Binary files

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?

A few potentially missing icons

Thanks for this!

I have a few files missing icons, but I think some should be sharing icons that already exist:

  • .coverage (new icon?) for https://coverage.readthedocs.io/en/6.4.1/
  • .eslintignore > use a greyed version of eslint?
  • .htmlhintrc > use the cogs?
  • .jshintignore > use the cogs?
  • .prettierignore > use the cogs?
  • .prettierrc > use the cogs?
  • .eslint.js > should use an eslint icon, not the js icon?
  • .releaserc
  • .styellintignore
  • . (other dot files) > should default to cogs?
  • *.sqlite > database icon?
  • .python-version
  • *.log > ?
  • "nginx" nginx icon
  • *.service > ?
  • .html. > should use the html icon?

Not working with other themes

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

File gets wrong icon

I'm working with a DokuWiki template that has a file called css.php. This appears in the sidebar with the css icon rather than the php one.

css php

Theme overrides via User folder

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.