4 comments

I'm not sure what the problem is - you can provide as many different IntentionActions as you need in your plugin?

0

Thanks for replying.

I figured out how to create a single intention, I did exactly as the example.I can also create many IntentionActions, but I have to define each one of them in the plugin.xml. The problem is - I don't know how many of them I'll need to create.

My goal is - I want to dynamically create IntentionActions. In other words - When the user clicks on alt+enter, the code will figure out which IntentionAction to create, according to some criteria. The text of the IntentionActions will depend on where the user clicked.

Is that functionality possible?

0

Thanks! It helped!

0

Please sign in to leave a comment.