Fork me on GitHub
#cider
<
2015-06-16
>
jonas14:06:16

bozhidar: Thanks & Congrats!

jonas14:06:55

@bozhidar: and the debugger is included in this release? Is there documentation anywhere on how to use it?

jonas14:06:24

@bozhidar: ah, sorry. I should have followed that link

voxdolo14:06:41

@bozhidar: šŸŽ‰šŸŽŠšŸŽ‰

voxdolo14:06:48

Thanks to all involved!

phil14:06:46

What's the status with cider and clojurescript these days? Are they (and associated libs) considered compatible?

bozhidar14:06:18

cider works with cljs reasonably well, but not all the functionality is on par with clj (e.g. completion) and some of the functionality is clj specific right now

bozhidar14:06:27

we have a section about this in the README

malabarba14:06:59

@jonas: Do note I just updated the post in that link. There have been new features since that initial post.

aengelberg15:06:57

Currently I'm using autocomplete-mode ac-nrepl, what is involved with using company instead?

aengelberg15:06:58

Oops I meant ac-cider

aengelberg15:06:12

Is that stuff built in if I use company with cider 0.9?

enn15:06:08

I think you just need to enable company mode, either globally or in Cider buffers via a hook. Then it just works.

enn15:06:55

Iā€™m curious how to get the company output in nice columns as shown in Bozhidarā€™s blog post.

enn15:06:32

Iā€™m really excited about the cljfmt stuff, Iā€™ve been using the 0.9.0 snapshot for a while but hadnā€™t known about that

enn15:06:45

cider-find-ns is nice too

arrdem15:06:31

alex_engelberg: yep. the company support is just baked in. turn on company and it should just work.

gtrak18:06:17

congrats on 0.9!

ghadi18:06:47

I updated to 0.9 including the nrepl plugin, and now when I clojure-jack-in it doesn't start cider-mode

ghadi18:06:13

and when I start it manually then find the REPL, there's no prompt in the repl

ghadi18:06:24

Is there something else that needs configuring?

andrewmcveigh18:06:37

@ghadi: You may need to clear the elpa directory for cider

andrewmcveigh18:06:44

Iā€™ve just had the same issue

ghadi19:06:24

trying that...

ghadi19:06:22

cool, that worked.

ghadi19:06:13

now a tiny warning CIDER requires nREPL 0.2.7 (or newer) to work properly

ghadi19:06:45

andrewmcveigh: if you can explain why you need to clear elpa, I'd appreciate it

arrdem19:06:02

ghadi: known issues with melpa unfortunately.

andrewmcveigh19:06:54

@ghadi: not sure to be honest, I think some compiled var was overriding something

arrdem19:06:00

you wind up with stale precompiled .elc files that donā€™t link correctly when upgrading. blowing away the package dir and reinstalling does it. Or at least thatā€™s my memory from a similar issue a while back.

ghadi19:06:16

so AOT is broken everywhere, not just clojure šŸ˜ƒ

ghadi19:06:34

thanks arrdem andrewmcveigh

ghadi19:06:08

now how to resolve the nREPL warning... seems that 0.2.6 is coming from lein itself

arrdem19:06:22

yeah. the fix for that is pretty easy..

arrdem19:06:05

{:user {:dependencies [[org.clojure/tools.nrepl "0.2.10ā€]]}}

bozhidar19:06:13

yeah, unfortunately lein hasnā€™t been updated in ages

bozhidar19:06:27

and the nREPL it ships with (0.2.6) is super buggy

bozhidar19:06:46

therefore this warning to nudge people in the right direction

martintrojer19:06:34

cider-test-run-tests seems to hang the repl

martintrojer19:06:35

^^ maybe that because of some nREPL bugs.. server buffer says

java.lang.IllegalArgumentException: Cannot write value of type class java.lang.Double
	at clojure.tools.nrepl.bencode$eval2884$fn__2885.invoke(bencode.clj:326)

martintrojer19:06:34

so if you have a double in your tests (and using nREPL 0.2.6) youā€™ll hang your repl when using cider-test-mode

bozhidar20:06:09

@martintrojer: If this problem exists with the latest nREPL, please file a ticket on ciderā€™s issue tracker

bozhidar20:06:25

I donā€™t recall ever running into such a problem

ppold21:06:12

šŸ‘ šŸ‘ congrats for the new version!