Material-theme-jetbrains: Method icons are not working for Java

Created on 21 Nov 2016  路  11Comments  路  Source: ChrisRM/material-theme-jetbrains

The method icons are not loaded when displaying methods in outline popup.
image

Most helpful comment

@StefanSchrass updated plugin has not been published yet

All 11 comments

Woops, wrong button. You are correct, there are some issues with those icons. I'm looking into it.

Its seems removing the iconProvider in plugin.xml solves the problem.

 <extensions defaultExtensionNs="com.intellij">
        <editorTabColorProvider implementation="com.chrisrm.idea.MTEditorTabColor"/>
--     <iconProvider implementation="com.chrisrm.idea.icons.MTFileIconProvider"/>
        <bundledColorScheme path="/colors/Material Theme - Lighter"/>

And i couldn't find the iconProvider in list of extension definition either at InteliJ SDK.

Probably those changes will not be compatible with older Idea versions which i didn't check

Yes but by doing that you're preventing the icon replacements to work. Some of them will work though, thanks to the MTIconReplacer which would replace the original icons inside the fileTypes directory to be replaced by the project's icons. But for all new icons that weren't in this directory (you can look at them inside icons.jar) there won't be a replacement. So file types such as ruby, scss, python... will not get the new icons, basically icons that come from external plugins

I guess i was only focusing java since im running the community version. My bad then i know why my PR got rejected. But i guess better to find a solution which ia based on intelij openapi extension points if possible to avoid more bugs like this in future.

Can you try to pull the repo, build the plugin and see if the java icons work properly now, @gayanper?

@ChrisRM Its still the same and now the java class icon is wrong as well which was fixed by #266.

Any update? Makes it impossible to see the visiblity of methods in the structure screen. I rely on it and will likely need to disable the theme until this is resolved.

The right icons seem to be visisble for a second by the way, but then all of them change to the broken one.

Thanks!

@gayanper Thanks for the hint on the iconProvider extension being the problem

I still see this on:
IntelliJ IDEA 2017.1
Build #IU-171.3780.107, built on March 22, 2017

@StefanSchrass updated plugin has not been published yet

Was this page helpful?
0 / 5 - 0 ratings

Related issues

martinaguilar picture martinaguilar  路  4Comments

CeramicTitan picture CeramicTitan  路  3Comments

un000 picture un000  路  4Comments

wolf99 picture wolf99  路  3Comments

sheinfeld picture sheinfeld  路  4Comments