Last input in Counterclockwise REPL?
Is it possible to go through a history of what you've typed into the Counterclockwise REPL in Eclipse? Like pressing the up-arrow or ctrl-p or various other thin开发者_高级运维gs that work in other repls? Thanks! -Philip
Yes, sorry for not having taken the time to document everything.
What you're after is Ctrl+UP / Ctrl+DOWN keys.
For Counterclockwise version 0.8.0.STABLE001 I was able to use the standard Eclipse "Keys" preferences screen to redefine "Load next command from REPL's history" in the "In Clojure REPL" category to Cmd-Up thus getting the requested functionality to work in Eclipse Indigo on Mac OS X Lion.
Testing on Counterclockwise version: 0.34.0.STABLE001
OS version: OSX El Capitan 10.11.6
Placing your cursor in the REPL command window that presents with <type Clojure code here>
and:
Pressing control + p will navigate to the previous command in history.
Pressing control + n will navigate to the next command in history.
As comments on previous answers indicate this is different on a windows version of Counterclockwise.
精彩评论