material-extensions / vscode-material-icon-theme

Available on the VSCode Marketplace
https://marketplace.visualstudio.com/items?itemName=PKief.material-icon-theme
MIT License
2.06k stars 631 forks source link

[Suggestion] Make SQL script and .db somewhat different #2604

Open chlorine3545 opened 1 month ago

chlorine3545 commented 1 month ago

Hi there.

Currently, .sql scripts, .db files, and database-related folders share the same icons. It would be incredibly helpful if we could make them more visually distinct. For example, use blue for .sql and the current yellow for .db.

From my perspective, these visual distinctions would improve file organisation and make it easier for users to quickly locate and identify database-related assets, especially on larger projects.

Thank you for considering this feature request!

Best regards.

PKief commented 1 month ago

Good suggestion. As I'm thinking that this request might be a little opinionated and other people prefer the current approach, I'm happy to provide you an alternative solution. Recently we've added a way to clone existing icons and apply some different colors to them. You can add the following config to your user settings in VS Code to make that happen:

"material-icon-theme.files.customClones": [
  {
    "name": "sql",
    "base": "database",
    "color": "blue-400",
    "fileExtensions": ["sql"]
  }
]

Then the icons can be differentiated better:

image

chlorine3545 commented 4 weeks ago

Good idea. For such a popular open-source project, making this kind of change is indeed a matter of pleasing everyone, which is difficult. I won't close this issue, but I believe it has been reasonably addressed.

Best regards :)