Is it possible to download icons for plugin from the Internet?


Hi. I want to download icon for my language from the Internet when plugin is installed

I have class Icons but icons are being loaded from resources folder (code is below). How to change this code and load icon by the link? Probably it is possible to do it once when plugin is being installed?

public static final Icon EO_ICON = IconLoader.getIcon("/org/antlr/jetbrains/eo/eo_icon.png");
1 comment

Hi Stepa,

I don't think that loading icons from the internet is a good solution and it may decrease UX for users with a slower internet connection or facing temporal connection issues. Icons change rarely and embedding them in the plugin is the most efficient and recommended solution.


Please sign in to leave a comment.