Reputation: 1051
I am really finding it difficult to even frame this question. But i will try to explain this in detail.
I have created a plugin using gradle in Intellij Idea. What it does is, checks 2 json files and prints error, according to some logic. All is working well. As soon as i create a jar file of this plugin and do "install plugin from disk" in settings, and then launch plugin, it is not printing System.err.println statements on console, where i am in. Also i see is, idea log files is generating those print statements but not printing on console. Just wanted to know if someone has ever faced such issue, or can help me out. It would be great. Thank you.
Upvotes: 0
Views: 268
Reputation: 7620
Your plugin does not have the access to input/output streams of the JVM process when you are executing it.
You can create a dialog/notification as per this IntelliJ's guide
OR
This thread shows steps needed in creating your own text console.
HTH
Upvotes: 2