【问题标题】:What specifies the history length of the Clojure REPL?Clojure REPL 的历史长度是什么?
【发布时间】:2012-10-11 23:01:34
【问题描述】:

在哪里设置?我正在使用 Lein REPL 和 LaClojure REPL,我找不到设置历史长度的位置。

【问题讨论】:

  • 您是否以编程方式访问 REPL?对于标准的交互式使用,人类不会达到极限。我当然从来没有。
  • 我问的原因是我的历史长度很短,我作为一个人已经达到了它

标签: clojure intellij-idea read-eval-print-loop leiningen


【解决方案1】:

idea.properties 文件中有idea.cycle.buffer.size 选项(位于 bin 目录中):

---------------------------------------------------------------------
This option controls console cyclic buffer: keeps the console output size not higher than the specified buffer size (Kb)
Older lines are deleted. In order to disable cycle buffer use idea.cycle.buffer.size=disabled
--------------------------------------------------------------------
idea.cycle.buffer.size=1024

同样在https://stackoverflow.com/a/10793230/151650 Micah 中提到了.inputrc 文件中的set history-size 10000 设置

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2012-04-15
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-03-12
    • 2019-04-15
    相关资源
    最近更新 更多