Where is cursive's .lein-repl-history?

52 views
Skip to first unread message

Blake Watson

unread,
Apr 16, 2021, 4:39:42 PM4/16/21
to cur...@googlegroups.com
I just noticed that commands typed in the IJ Clojure REPL don't go into .lein-repl-history.

Where do they end up?

===Blake===

Colin Fleming

unread,
Apr 26, 2021, 11:52:27 PM4/26/21
to Cursive Group
They're stored in the .idea/workspace.xml file, not as easily accessible as the lein one sorry. You'll see something like the following:

e.g.: cursive-1693/.idea/workspace.xml

<component name="ReplState" timestamp="1493686815183">{:repl-history {:ide [], :local [{:command &quot;(def x 5)&quot;, :offset 9, :ns &quot;cursive-1693.core&quot;} {:command &quot;(ns cursive-1693.core)&quot;, :offset 22, :ns &quot;cursive-1693.core&quot;} {:command &quot;(defn foo\n  \&quot;I don't do a whole lot.\&quot;\n  [x]\n  (println x \&quot;Hello, World!\&quot;))&quot;, :offset 74, :ns &quot;cursive-1693.core&quot;}], :remote []}}</component>
--
You received this message because you are subscribed to the Google Groups "Cursive" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cursive+u...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages