[HOW-TO] change icon for editor IntentionActions

Obviously this is possible just by looking at the various intention actions in the editor. Still, was not able to find out how, just by looking at the IntentionAction interface. Appreciate any hint.

2 comments
Comment actions Permalink

Hello Dan,

Your intention action should implement Iconable and return the icon from
its getIcon() method.

Obviously this is possible just by looking at the various intention
actions in the editor. Still, was not able to find out how, just by
looking at the IntentionAction interface. Appreciate any hint.


--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0
Comment actions Permalink

Great! Thanks for the quick answer!

0

Please sign in to leave a comment.