Intention doesn't work

I'm writing a plugin for IntelliJ. I wrote a small example for Intention that changes x>y in the code to y>x when applying the intention. The problem is that when I try to apply the intention multiple times rapidly (2-3 seconds after the previous apply) the intention doesn't work - nothing is changing in the code.

Any guess why? is this something that can be fixed?

Thanks in advance!

0

Please try to debug, is 'invoke" reached for the second apply? You can do not stop the thread but only log messages to check the conditions.

Anna

0

请先登录再写评论。