问题描述
在Sublime Text 2中,文本传输真的很慢,尤其是多行文本(每行在评估整个表达式之前需要大约2秒的时间打印出来)
是正常的吗?
如果我可以在发送表达式到repl之前删除行尾,那么在我的命令中,我添加了一个步骤:
text = text.rstrip()
div>
将SublimeREPL clojure命令从 lein repl
更改为 lein trampoline run -m clojure.main
。
您要更改的文件是 SublimeREPL / config / Clojure / Main.sublime-menu
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?
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
这篇关于在Sublime Text 2中使用Clojure REPL真正缓慢的文本传输是正常的吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!