Fork me on GitHub
#cursive
<
2019-05-14
>
kari08:05:37

@cfleming - Great! I believe you let us know here when you have updated the documentation - I'm definitely going to read it again from begin to end! I learned so many new Clojure coding productivity boosters yesterday. And you have good style of writing documentation, it's very fluent and also good light humor showing between lines. 🙂

cfleming08:05:05

@kari.marttila Thanks! That’s encouraging to hear. It’s always a slog updating documentation and I often wonder if the ROI is very great, but of course I don’t often hear from the people who struggle because it’s out of date or incomplete (or people that it helps a lot).

kari09:05:15

@cfleming The documentation style is really good. The text is clear and informal and especially those short video clips showing e.g. how to do structural editing are great. I remember that when starting to use Cursive I watched those clips especially regarding barfing and slurping and immediately assigned good hot keys for them. I have configured in my Linux workstation a keymap in which "Caps lock" is "Alt Gr", and "Alt Gr" (i.e. Caps Lock) + j,k,l,i are arrow keys, So I have in my finger muscular memory already those keys. I just assigned certain AltGr/shift/ctrl/alt + i/j/k/l/i combinations for barfing and slurping and using barfing and slurping that way in Cursive has been really fast (I don't have to move my fingers from the standard positions in keyboard (using 10 finger style) when barfing/slurping - and those hot keys are in my finger muscular memory so that I don't even think about how to do them - it comes just naturally as part of writing code).

conan08:05:30

I second this, I've learned loads from the cursive documentation, and not just about cursive. It's much appreciated!

kari09:05:17

The only downside with IntelliJ idea is that for some reason it doesn't "honor" the Linux keymaps (I have found this in a short selection of editors - most editors honor it). But luckily I could just "recreate" the same hot keys in the IntelliJ Keymap so, my look-and-feel of editing using IntelliJ IDEA is the same as e.g. in Emacs.

vinai13:05:09

@cfleming Regarding your comment on the REPL stdin input popup box https://github.com/cursive-ide/cursive/issues/835#issuecomment-488126046 > The issue with the standard input popup is caused by using an nREPL type REPL with something that's expecting a clojure.main style one. If you create your REPL as a clojure.main one, this should work. I'm wondering, how can I start the REPL as a clojure.main one in cursive?

flowthing13:05:22

I actually happened to bump into the exact same problem just now. It's quite bizarre.

vinai13:05:46

Oh, I just noticed I can select clojure.main in the run config dialoge when configuring the repl. Trying it now.

vinai14:05:46

Hm, no luck. Any info on starting a cljs browser repl would be cool.

vinai15:05:13

I can start a local REPL and switch to cljs using the clojure.main setting.

flowthing07:05:43

In my case, the issue was that I was using a version of Figwheel (and Figwheel Sidecar) that only supported cemerick/piggieback, but my project depended on the newer cider/piggieback. Updating lein-figwheel and figwheel-sidecar to 0.5.18 fixed the issue.

flowthing07:05:44

I'm now getting clojure.lang.ExceptionInfo: my.awesome.ns does not exist {:cljs.repl/error :invalid-ns} when I try loading a namespace into the CLJS REPL, though. confusedparrot

manutter5115:05:09

There’s a setting in preferences for how long the timeout is, maybe it got set to an unreasonably low value somehow?

vinai16:05:04

I don't think that is the problem... The repl starts faster than the timeout.