Line wrap in Scala worksheet?

Hi, I need to record some Scala video lessons and am trying to decide between the Eclipse and IntelliJ worksheet. In Eclipse, the results of the computation wrap, but in IntelliJ, by default, the result is always one long line. Scrolling around wouldn't look so great in a video. Is there a way of turning on wrapping in the IntelliJ worksheet?

0

Hello,

you can enable soft wraps in the settigs (as for other editors), but right now there is a bug with alignment of input and output of a worksheet with soft wraps. This bug will be fixed in the next nightly

0
Avatar
Permanently deleted user

Hi,

Whether softwraps in scala worksheets are enabled? I was not able to find them on settings for scala worksheets. We do have a right margin column count on code style for scala, changes to that does not result in line wraps on scala worksheet though.

0
Avatar
Permanently deleted user

It looks like you actually have to put your cursor into the appropriate portion of the Active Editor (which I guess in your case refers to the Results portion of the Scala Worksheet), then you can go to View->Active Editor->Use Soft Wrap

1

请先登录再写评论。