shaz
shaz

Reputation: 2387

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.

Upvotes: 10

Views: 2644

Answers (1)

Doru Chiulan
Doru Chiulan

Reputation: 316

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

Upvotes: 9

Related Questions