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

Reuse the Java icons for PHP filetypes #122

Open
rafaucau opened this issue Sep 21, 2024 · 1 comment
Open

Reuse the Java icons for PHP filetypes #122

rafaucau opened this issue Sep 21, 2024 · 1 comment
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@rafaucau
Copy link

rafaucau commented Sep 21, 2024

It would be nice if there were different icons for PHP filetypes such as class, interface, abstract class, attribute class, trait, enum, etc.

Default PHPStorm Catppuccin Icons
image image
@sgoudham sgoudham changed the title PHP Filetypes Reuse the java icons for PHP filetypes Oct 15, 2024
@sgoudham sgoudham added enhancement New feature or request help wanted Extra attention is needed labels Oct 15, 2024
@sgoudham sgoudham changed the title Reuse the java icons for PHP filetypes Reuse the Java icons for PHP filetypes Oct 15, 2024
@jonathanlermitage
Copy link

jonathanlermitage commented Nov 20, 2024

You may want to use a IconPathPatcher. Instead of replacing icons of files by file name with an IconProvider, an IconPathPatcher replaces icons by their name. Per example, it can replace Interface.svg by your own icon. You can find icon names (actually, their path, like /expui/nodes/Interface.svg) by entering in Internal mode.

In other words, you may want to mix IconProvider and IconPathPatcher. Please note that IconPathPatcher is applied once on IDE startup, while IconProvider is applied each time an icon is displayed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants