在Sublime Text 2中使用Clojure REPL真正缓慢的文本传输是正常的吗? [英] Is it normal to have really slow text transfer in Sublime Text 2 with the Clojure REPL?

查看:133
本文介绍了在Sublime Text 2中使用Clojure REPL真正缓慢的文本传输是正常的吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在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

code>


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真正缓慢的文本传输是正常的吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆