Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking β€œSign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to use emoji for icon like check, lock, and x #361

Open
zenof opened this issue Jul 8, 2019 Β· 1 comment
Open

Add an option to use emoji for icon like check, lock, and x #361

zenof opened this issue Jul 8, 2019 Β· 1 comment
Labels
help wanted Extra attention is needed
Milestone

Comments

@zenof
Copy link

zenof commented Jul 8, 2019

πŸš€ Feature Proposal

Add an option to use emoji instead of check.png (βœ…), x.png(❌), lock.png(πŸ”’), blank().png.

Motivation

Currently if using code-server to host VSCode in cloud and open in web browser, the problem list won't display the status icons cause the URL is blocked.

And open the browser console, will see some errors like that:

Not allowed to load local resource: file:///opt/app/code-server/user_data/extensions/shengchen.vscode-leetcode-0.15.1/resources/check.png
Not allowed to load local resource: file:///opt/app/code-server/user_data/extensions/shengchen.vscode-leetcode-0.15.1/resources/x.png
Not allowed to load local resource: file:///opt/app/code-server/user_data/extensions/shengchen.vscode-leetcode-0.15.1/resources/lock.png
Not allowed to load local resource: file:///opt/app/code-server/user_data/extensions/shengchen.vscode-leetcode-0.15.1/resources/blank.png

Contribution

IMHO, add an option to use emoji instead of the png files can bring maximum compatibility.

@jdneo
Copy link
Member

jdneo commented Jul 8, 2019

@zenof As far as I know, the VS Code does not expose any API to support setting the explorer node icon to an emoji or even octicons. I'm afraid this is not achievable so far.

@jdneo jdneo added the help wanted Extra attention is needed label Jul 11, 2019
@jdneo jdneo added this to the backlog milestone Jul 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants