I have noticed that opening the context menu (time from pressing the right mouse button to it being displayed) is slow in some contexts for my plugin. That is, it is only noticeable on certain identifiers in the language files my plugin supports.
Is there a way I can profile this to see where the performance issues are? I have tried the profiling support with the new IntelliJ EAP, but I cannot currently get it to work with the runIde gradle task of the gradle-intellij-plugin. Is it possible to use the "Profile with" action in this case, like I can get it to work with the JUnit tests?
What is the context menu action doing? That may help me track down the performance issues.