claudiohbsantos / github-material-icons-extension Goto Github PK
View Code? Open in Web Editor NEWHome Page: https://chrome.google.com/webstore/detail/material-icons-for-github/bggfcpfjbdkhfhfmkjpbhnkhnpjjeomc
License: MIT License
Home Page: https://chrome.google.com/webstore/detail/material-icons-for-github/bggfcpfjbdkhfhfmkjpbhnkhnpjjeomc
License: MIT License
I know the age old saying goes if it ain't broke... but could be good for reducing compute on GH actions, and developing locally.
I propose replacing custom build script and parcel with rollup & esbuild.
Feel free to close if this is not a priority / something you would be interested in.
I'd like to know, why isn't it white? in my dark theme it doesn't look good.
hello icon material devs, I'm very satisfied with your icon theme, I love it I always use it, today I went to create a scraper with ferret, using fql a declarative scraper language for ferret, but the file didn't have an icon, add one icone for fql files, if you want an image here is one: image.
❤️ Thank you, until next time!
https://github.com/mathworks/MATLAB-Language-grammar/tree/master/test is matched wrong for example
By querying the API for the languages used in that repo, we can disambiguate between languages like MATLAB
and Objective-C
.
Extensions that need disambiguation are listed here, this issue applies to all mapped file extensions there
Thanks for your efforts in resolving #3! Unfortunately when the items match a known extension:
(https://github.com/svartalf/rust-battery/tree/master/battery)
...the symlink and submodule icons won't show:
These lines should be hoisted (put in front of the languages matching code):
github-material-icons-extension/src/main.js
Lines 158 to 159 in f212d07
It looks like the latest release didn't make it to the Chrome store due to the release action failing. Might be worth failing the pipeline if a task fails?
While I was working on the PR I just submitted, I noticed that ESLint wasn't working. I looked into it and it seems that there are a lot of issues with the setup. First of all, eslint-config-airbnb
is specifically for react projects, what you'd want to use is eslint-config-airbnb-base
. Because of that, the config is failing due to a missing dependency of eslint-plugin-jsx-a11y
which is only needed for React projects.
I tried updating the config with the proper configs and plugins, but there are a ton of cases where this project goes against the rules of airbnb's config. I'd be willing to give fixing this a shot because I enjoy fixing lint errors. However, it would involve a lot of reorganizing/tweaking of the code to make it valid, so I want to make sure this is something you'd actually want before I do anything. If not you might want to either choose a more lenient ruleset, or remove eslint
from the project entirely.
If you do want this to be fixed, these are the initial changes I'd probably go off of to make it work (with some tweaks along the way most likely):
.eslintrc.json
{
"env": {
"browser": true,
"es2021": true,
"node": true
},
"globals": {
"chrome": "readonly"
},
"extends": ["airbnb-base", "prettier"],
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"no-use-before-define": ["error", { "functions": false }]
},
"overrides": [
{
"files": ["scripts/*.js"],
"parserOptions": {
"sourceType": "script"
},
"rules": {
"import/no-extraneous-dependencies": "off",
"no-console": "off"
}
}
]
}
.eslintignore
dist
node_modules
package.json
"devDependencies": {
"eslint": "8.11.0",
"eslint-config-airbnb-base": "15.0.0",
"eslint-config-prettier": "8.5.0",
"eslint-plugin-import": "2.25.4",
}
Hey
Thanks for your great extension.
Do you have any plans to support Gitea and GitLab?
Raising a feature req. to add support for VSCode Dev
Have started work on it, and will raise a PR in due course :)
Symlinked folders/files (including submodules) have a different icon to indicate their type, but this extension doesn't preserve it.
With extension:
Test repo: https://github.com/lxqt/lxqt
I use this extensions for verilog language(connect with vivado ,the file is .v). But it generate the wrong icon. Problem is that it make a mistake between verilog and vlang language(which is also .v). I tried some ways but still couldn't find the reason why it recognizes to vlang. So if there some methods to solove this problem?thank you.
Hello,
This is a very nice extension!
I tried it and I immediately noticed an issue with the icons being too small compared to the original ones.
I added the following in main.js (after const newSVG = document.createElement("img");
):
newSVG.style.width = "20px";
newSVG.style.height = "20px";
newSVG.style.marginTop = "1px";
newSVG.style.marginBottom = "-1px";
This makes it so much better IMO. Please try it out / consider this.
Seems like many icons are missing in the browser but present in the VSCode with the respective material theme. Please do update the addon and if possible can the extension be auto-updated with some schedule using GitHub actions.
Just recording that I've noticed a small bug with the version that I just released where changing icon packs results in duplicated icons until refresh:
Pretty sure this is just a side effect of some of the changes to the icon replacement logic we introduced in #56 . Overall I'd rather live with this for a bit than revert since a lot of people seem to be using the new code view.
@csandman just tagging you for visibility, I'm happy to take a stab at it .
In my repo AdamRaichu/adamraichu.github.io I have a file manifest.webmanifest
that I was messing around with. In vscode, it has the JSON file icon, but on GitHub (using the extension) it has the generic file icon.
Add support to configure languages and file associations just like we do in VSCode settings over here?
"material-icon-theme.languages.associations": {
"php": "php_elephant"
},
Suggestion: Although Chrome extension can be run on Edge but also is there any plan to release it for the MS Edge store!!
Firefox version:
78.14.0esr
Addon version:
v1.4.2 (latest release as of now)
Steps to reproduce:
Follow the steps provided in the README:
about:addons
-> "install from file"Other Solutions I tried:
Moving discussion from PKief/vscode-material-icon-theme#1105 to here
I think this should be a fairly straightforward addition to the switch statement
To have all of our files sorted by type we name them type.*.ts. It would be great if we could specify this pattern in the settings of the extension.
I wish this repository can support Safari in the future as I love it too much. 😭
Hi, I noticed that this extension doesn't work on nested routes on Arc Browser (which is chromium based)
I tested it on Brave and everything was fine.
The repo from the screen is here
*.nims
is a nimscript file. It can use a same icon as *.nim
file.
The new code view with the tree sidebar is in beta right now (github docs), but the extension doesn't work with it :(
When using v1.7.8
, I opened the repo https://github.com/FabricMC/fabric/tree/1.19.4. The icon for the file called HEADER
did not load. Apparently it was trying to reference the missing file file.svg
.
If I tried to hard reload the repository page with cached cleared this kind of design flicker is happening and soon gets disappeared. @Claudiohbsantos can you investigate this I tried but couldn't figure out the culprit styling.
The recently implemented new code view completely breaks the extension's functionality
Currently the mode is in feature-preview, so probably not a top-priority
How this repository currently appears with the feature enabled
The constructor folder icon is broken
Reference URL: https://github.com/inc2734/snow-monkey/tree/master/app
Quick sketch for this:
const fileName = 'phpcs.xml.dist.sample';
const fileExtensions = [];
for (let index = 0; index < fileName.length; index += 1) {
if (fileName[index] === '.') fileExtensions.push(fileName.slice(index + 1));
}
Is there any possibility of adding support for the Opera browser?
Do you have any intention to publish this extension to the Firefox addons marketplace?
Can we have GitHub enterprise support on this extension?
e.g. github.x.com
I think making and option to add site access would do the job.
I installed the extension from source, and it works fine, but it would be cool if you guys solve this issue with Mozilla.
@Claudiohbsantos VSCode extension had been released but over this repo action, it is being broken. Can you please look into it?
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.