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

1

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.

Hermon answered 29/5, 2013 at 17:45 Comment(4)
This is scala 2.10.1, Sublime Text 2 and Mac OS X 10.8.3Hermon
I assume you're using SublimeREPL?Outline
so it seems that Sublime is grabbing the ctrl-D for its multieditHermon
I guess he hasn't seen it here, so head over to GitHub and open an issue. 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...Outline
H
9

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

Hallvard answered 29/8, 2017 at 15:2 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.