intellij-haskell icon indicating copy to clipboard operation
intellij-haskell copied to clipboard

Error reporter

Open ice1000 opened this issue 6 years ago • 16 comments

When IDE throws an Exception, it has the ability to blame on a plugin. It also supports reporting the Exception with the stacktrace to somewhere when the Exception occurs.

Any interests in adding this feature (and the error will be reported to GitHub, with a format like ice1000/julia-intellij#270)? I know how to impl this, just asking a question here.

ice1000 avatar Dec 11 '18 02:12 ice1000

Cool! Very helpful.

rikvdkleij avatar Dec 11 '18 10:12 rikvdkleij

:+1:

ice1000 avatar Dec 11 '18 21:12 ice1000

OHMYGOD YES PLEASE

consider wrapping stacktrace to something like <details><summary>Something meaningful</summary>...stacktrace...</details> BTW. Works good for https://github.com/KronicDeth/intellij-elixir/issues/902

develop7 avatar Dec 13 '18 15:12 develop7

consider wrapping stacktrace to something like

Something meaningful...stacktrace...
BTW. Works good for KronicDeth/intellij-elixir#902

OHMYGOD THAT"S AWESOME

ice1000 avatar Dec 13 '18 19:12 ice1000

Oh my god I just realized I'll have to rewrite my old error reporter in Kotlin to Scala

ice1000 avatar Dec 14 '18 01:12 ice1000

Can I use Kotlin? It's too hard to deal with Java collections in Scala codes.

ice1000 avatar Dec 18 '18 07:12 ice1000

Can I use Kotlin?

Well, I prefer Scala but I have no problem with Kotlin itself. I do not know how to integrate with sbt build and IntelliJ scala project.

It's too hard to deal with Java collections in Scala codes.

It's not difficult, you just have to import: import scala.collection.JavaConverters._

rikvdkleij avatar Dec 18 '18 09:12 rikvdkleij

Well, I prefer Scala but I have no problem with Kotlin itself. I do not know how to integrate with sbt build and IntelliJ scala project.

No need to worry about this. IntelliJ will help with compiling Kotlin codes during packing the .zip.

ice1000 avatar Dec 18 '18 09:12 ice1000

And sbt compile/build?

rikvdkleij avatar Dec 18 '18 09:12 rikvdkleij

I would appreciate if you try solution with: import scala.collection.JavaConverters._

Maybe it's already implemented in IntelliJ Scala plugin.

rikvdkleij avatar Dec 18 '18 09:12 rikvdkleij

And sbt compile/build?

Not sure, have 0 knowledge about this

ice1000 avatar Dec 18 '18 10:12 ice1000

Yes, will try later. But you may try the .zip I've just uploaded, it's nice.

ice1000 avatar Dec 18 '18 10:12 ice1000

Did you try the language injection feature? It's great when you're working with regex or jsons

ice1000 avatar Dec 18 '18 10:12 ice1000

Did you try the language injection feature?

Not yet. I will try later.

rikvdkleij avatar Dec 18 '18 10:12 rikvdkleij

Maybe it's already implemented in IntelliJ Scala plugin.

They use YouTrack, we use GitHub. It's different.

ice1000 avatar Dec 18 '18 10:12 ice1000