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

feat: add cmrc icon support #3458

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

Ar-mane
Copy link

@Ar-mane Ar-mane commented Mar 2, 2024

This adds the cmrc logo (a component generator : for https://cm.armane.dev ).

Fixes #IssueNumber

Changes proposed:

  • Add
  • Delete
  • Fix
  • Prepare

@robertohuertasm
Copy link
Member

@Ar-mane is that extension supposed to be a filename? or are the files having that dual extension? If it's the latter, it won't work. Only the last extension is taken into account by VS Code.

@@ -2584,6 +2584,11 @@ export const extensions: IFileCollection = {
extensions: ['juice'],
format: FileFormat.svg,
},
{
icon: 'cmrc',
extensions: ['cmrc.json'],
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't work as a file extension. VS Code only takes the latest extension. It doesn't work with composed extensions.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i got inspired from some files already existed,

i want to decorate the whole cmrc.json file. any suggestion how to ?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

actualy .cmrc as file name is better than .cmrc.json
I updated the extension config
with new commit, it works as it suppose to

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants