I have an XQuery plugin (https://plugins.jetbrains.com/plugin/8612-xquery-intellij-plugin) that supports profiling queries on the MarkLogic, Saxon, and BaseX processors. This is working, except that on IntelliJ ultimate there are two profile executors (mine and the IntelliJ one).
- I would like to conditionally enable my executor when the one in the Ultimate version is not present, so there is only one profile executor (e.g. in the plugin.xml have a "detect not IntelliJ ultimate => add profile executor").
- On IntelliJ Ultimate, I would like to integrate with the profile executor there so it uses the same action to run the profile, but use my profile run configuration view instead of the Java Flight Recorder profile view.
How do I implement this?