[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.

0

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

Great! Thanks for the quick answer!

0

请先登录再写评论。