Is it normal to have really slow text transfer in

2020-06-04 03:09发布

问题:

Text transfer is really slow for me in Sublime Text 2, especially multiline text (each line takes about 2 seconds to print in the repl before evaluating the whole expression...) Is it normal?

It would be better if I could remove line endings before sending expressions to the repl, so in my command, I've added a step:

text = text.rstrip()

but it doesn't work.

How can I make this faster?

回答1:

Change the SublimeREPL clojure command from lein repl to lein trampoline run -m clojure.main. Everything should be nice and fast after that.

The file you want to change is SublimeREPL/config/Clojure/Main.sublime-menu