Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scala REPL "paste" mode doesn't exit on ctrl-D in Sublime Text 2

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.

like image 437
shaz Avatar asked May 29 '13 17:05

shaz


1 Answers

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

like image 64
Doru Chiulan Avatar answered Nov 13 '22 01:11

Doru Chiulan