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 the possibility to set folders/files associations #73

Closed
devzgabriel opened this issue Jan 17, 2023 · 3 comments
Closed

Add the possibility to set folders/files associations #73

devzgabriel opened this issue Jan 17, 2023 · 3 comments
Assignees
Labels
feature request Request for new functionality
Milestone

Comments

@devzgabriel
Copy link

In material-icon-theme extension, we can associate files with other's appearance:

"material-icon-theme.folders.associations": {
    "infra": "app",
    "entities": "class",
    "schemas": "class",
}

The main problem is a Nest.js project with Angularjs icons.

It would be interesting to see the same behavior in Symbols extension

@miguelsolorio miguelsolorio added the feature request Request for new functionality label Jan 18, 2023
@wmartinezh
Copy link

This feature will be a game-changing

@NandoMB
Copy link

NandoMB commented May 23, 2023

#92

@miguelsolorio miguelsolorio added this to the 0.0.10 milestone May 30, 2023
@miguelsolorio miguelsolorio self-assigned this May 30, 2023
@miguelsolorio
Copy link
Owner

miguelsolorio commented May 30, 2023

You can now set custom file and folder associations thanks to @wladimirgrf in #92. You can use symbols.folders.associations and symbols.files.associations like so (in your settings.json):

  "symbols.folders.associations": {
    "infra": "folder-app",
    "entities": "folder-assets",
    "schemas": "folder-purple"
  },

and for files:

  "symbols.files.associations": {
    "app.module.ts": "ts",
    "service.module.ts": "ts"
  },

You can find the full list of folder & file icon names in the source files or view a preview of them in Figma.

@miguelsolorio miguelsolorio modified the milestones: 0.0.10, 0.0.11 May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Request for new functionality
Projects
None yet
Development

No branches or pull requests

4 participants