6 comments
Comment actions Permalink

For custom error reporting, see com.intellij.openapi.diagnostic.ErrorReportSubmitter

0
Comment actions Permalink

Hi Yann,

I have a related question for you.
Is it possible to use the mentioned component to create reports to GitHub or other bug trackers? I can definitely tackle the implementation of that but I'd like to know if that's the right place to do it or not. And if not, can you think of an alternative?


Thank you.

0
Comment actions Permalink

Yes, absolutely. See Android Studio custom submitter com.android.tools.idea.diagnostics.error.ErrorReporter for some inspiration.

0
Comment actions Permalink

Hi Yann,


Thanks once again for your help.
While I have no idea if I've properly respected the copyright on those files or not, I've managed to make it work: https://github.com/go-lang-plugin-org/go-lang-idea-plugin/pull/909
Do you think it's worth adding it to the list of documentation / FAQ so that other people know how to also benefit from this feature?
Thank you.



Kind regards,
Florin

0
Comment actions Permalink

Thanks for your sample, added to FAQ.

0
Avatar
Patrick Scheibe
Comment actions Permalink

@Florin Since your post here tipped me off to look at the Android Studio error handling, I just wanted to say thanks (of course to Yann as well!). I used this as basis for my own error reporter and since information are generally hard do find I wrote a post about this specific feature: Automatic error reporting to GitHub issues

0

Please sign in to leave a comment.