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

Angular: Icon for Resolver gets copied to Service #3505

Open
1 task done
jagomf opened this issue May 15, 2024 · 0 comments
Open
1 task done

Angular: Icon for Resolver gets copied to Service #3505

jagomf opened this issue May 15, 2024 · 0 comments

Comments

@jagomf
Copy link

jagomf commented May 15, 2024

Housekeeping

  • I'm sure this issue is not a duplicate

Information:

Expected situation

Setting an icon for a resolver is independent from any other type of file according to its extension (*.resolver.ts).

Actual situation

Angular icon for resolvers (*.resolver.ts) get copied to services (*.service.ts) although not sharing name or extension.

Reproduction:

  1. In a new or existing Angular project, make sure you have a service and a resolver:
$ ng new foobar
$ cd foobar
$ ng generate resolver foo
$ ng generate service bar
  1. Add an icon setting to your .vscode/settings.json with the resolvers' extension:
{
  "vsicons.associations.files": [
    { "icon": "ng_service_ts2", "extensions": ["resolver.ts"], "format": "svg", "disabled": false }
  ]
}
  1. Check that both resolver (src/app/foo.resolver.ts) and service (src/app/bar.service.ts) are changing the same icon.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant