scala-ide / scala-worksheet

A Scala IDE plugin for a multi-line REPL (called worksheet)
96 stars 24 forks source link

Worksheet errors are not reported in the problems view #222

Open radusw opened 9 years ago

radusw commented 9 years ago

Steps to reproduce:

  1. create a new worksheet
  2. write a new line that doesn't compile and should be marked with error. e.g. {case "ping" => "pong}
  3. save the worksheet

=> you will notice that the error shows up for a second or 2, then disappears

Ubuntu 15.04 openJDK 1.6.0 Scala 2.11.6 Scala Worksheet 0.3.0.v-2_11-201505250857-3ecd157 org.scalaide.worksheet.feature.feature.group Scala IDE 4.1.0

dragos commented 9 years ago

Can you disable Build Automatically and see if the issue is still there?

radusw commented 9 years ago

I cannot reproduce it at all now and I haven't update anything. Spurious behaviour - I think it's a threading issue.

I will let you know when it's happening again and I will try disabling 'Build Auto'

dragos commented 9 years ago

And what's the status of Build Automatically?

radusw commented 9 years ago

It was enabled

saqib-ali commented 8 years ago

I run into the same issue when "Build Automatically" is enabled. Disabling it fixes the issue.

martinprobson commented 7 years ago

Same issue. Ubuntu 16.04 openJDK 1.8.0_131 Scala 2.11.8 Worksheet version Scala Worksheet 0.4.0.v-2_11-201605041112-ab29b9c org.scalaide.worksheet.feature.feature.group
Scala IDE 4.4.1

I run into the same issue when "Build Automatically" is enabled. Disabling it fixes the issue.

amorelos commented 6 years ago

I am using "Build id: 4.6.1-vfinal-2017-06-09T11:19:56Z-Typesafe"and I still see this problem.

wpopielarski commented 6 years ago

I hope this https://github.com/scala-ide/scala-worksheet/pull/236 definitely solves problem.

2017-10-01 7:11 GMT+02:00 Abel Morelos notifications@github.com:

I am using "Build id: 4.6.1-vfinal-2017-06-09T11:19:56Z-Typesafe"and I still see this problem.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/scala-ide/scala-worksheet/issues/222#issuecomment-333354098, or mute the thread https://github.com/notifications/unsubscribe-auth/ALEzS8RsJTZijTsf0dnP7_oc_NPq7Sg1ks5snx7ngaJpZM4FCo8L .

tchegito commented 6 years ago

We're using 4.7.1-rc3 from January 2018, and we still experience this problem. So we disable "Build Automatically" in order to fix the erros, and re-enable it. But this is still annoying: I don't see why a build is triggered again on a project which is marked as "compilation error" although no code change is detected.

Anyway, it's a really great plugin, and besides that, it fixes a lot of complications experienced by the company I work for. Thanks for this huge effort.