I’m coming back to you as you offered helping the Fiji community in reducing the red error messages and stack traces popping up. So here comes one:
When you copy&paste code from IntelliJ to the script editor (into a macro btw), somtimes, this error pops up:
Exception "java.lang.ClassNotFoundException: com/intellij/codeInsight/editorActions/FoldingData"while constructing DataFlavor for: application/x-java-jvm-local-objectref; class=com.intellij.codeInsight.editorActions.FoldingData
I could imagine it is thrown in an external dependency, but maybe we can catch it somewhere?
I was furthermore wondering, if it might be possible to show these error messages a bit less offensive than by opening the Console Window. Is it maybe possible to show that an error happened in Fijis status bar and opening the console if someone clicks on that error?
I think MicroManager has a similar solution built-in. Maybe @nicost can point us to where in the code this is implemented in MM and we take over such a solution for errors/warnings in general?