ivogabe / Brackets-Icons

File icons in Brackets' file tree
251 stars 59 forks source link

support for config.json #75

Closed thoroc closed 9 years ago

thoroc commented 9 years ago

Hi,

is there a way to get the gulpfiles.js, the packages.json and the bower.json to have specific icons?

thanks

ivogabe commented 9 years ago

Currently that's not supported. If you'd want to create a pull request, you should change the code here. You should start with the full filename (for example foo.bar.js), check whether such extension exists. If not: remove the first part (till the first dot) and check whether bar.js exists etcetera.

That approach would also allow files as **.conf.js to have it's own icon. gulpfile.js would have the same icon as foo.gulpfile.js with that approach, but that's not a problem for me.

ivogabe commented 9 years ago

See #79.

thoroc commented 9 years ago

nice :)