10

Has anyone seen this problem? Start the scala REPL and

scala> :paste
// Entering paste mode (ctrl-D to finish)

val x = 5

ctrl-D does not cause REPL to finish paste mode.

metasim
  • 4,793
  • 3
  • 46
  • 70
shaz
  • 2,317
  • 4
  • 27
  • 37
  • This is scala 2.10.1, Sublime Text 2 and Mac OS X 10.8.3 – shaz May 29 '13 at 17:53
  • I assume you're using SublimeREPL? – MattDMo May 29 '13 at 19:25
  • so it seems that Sublime is grabbing the ctrl-D for its multiedit – shaz May 29 '13 at 22:11
  • 1
    I guess he hasn't seen it here, so head over to GitHub and open an [issue](https://github.com/wuub/SublimeREPL/issues). The author of SublimeREPL is quite nice and usually pretty responsive to questions. I seem to recall that some commands like this had a different modifier key for another REPL, but I can't find the documentation anywhere... – MattDMo May 30 '13 at 19:03

1 Answers1

8

Just insert a new line (ENTER) after u paste then hit CTRL-D. Spent a half an hour to figure this out

Doru Chiulan
  • 307
  • 4
  • 15