I'm using ExternalSystemUtil to run a gradle task, and am hitting some snags:
- It looks like for the external formatter you must supply an implementation for both `run` and `cancel`. The issue is I'm running my formatting task with
since the formatting task is actually a Gradle task, and `runTask` doesn't return anything so I have no way to cancel the task it runs if the user invokes the Reformat action again.
- How do I get stdout from the task that is run
- How do i pass stdin to the task that will be run?
Any help here would be appreciated.