scala-ide / scala-worksheet

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

pruneOutput seems to operate globally? #97

Closed themel closed 11 years ago

themel commented 11 years ago

I love the worksheet plugin, but I'm running into the limitations on the output size, e.g. this worksheet will display a truncated output on the first line, but none on the second:

object  myws { 
   val even = for(i <- 1 until 1000) yield 2*i
   val odd  = for(i <- 1 until 1000) yield (2*i+1)
} 

Is there a way to make it truncate individual expression's output instead of simply giving up after the first long expression?

dragos commented 11 years ago

It's a duplicate of #93 (a limitation of the current implementation).

dotta commented 11 years ago

@themel Ticket #93 has just been fixed, and your test is now part of our regression suite ;-)