Discussion about all editors used for Clojure/ClojureScript
danielcompton 2015-06-08T03:02:29.000650Z

@cfleming: does Cursive support ClojureScript debugging in Ultimate Edition?

cfleming 2015-06-08T03:02:50.000651Z

danielcompton: Sadly no

cfleming 2015-06-08T03:03:12.000652Z

danielcompton: I’d really love to support that, but it’s difficult - it’s the subject of ongoing negotiations with JetBrains

danielcompton 2015-06-08T03:03:38.000653Z

How does it relate to JB? Is that if you want to have a Cursive.app IDE?

cfleming 2015-06-08T03:04:32.000654Z

Well, I don’t want significant functionality like debugging CLJS to be Ultimate only.

cfleming 2015-06-08T03:04:49.000655Z

But it doesn’t work in Community edition, obviously

danielcompton 2015-06-08T03:04:49.000656Z

Right, makes sense

danielcompton 2015-06-08T03:05:16.000657Z

Hence the negotiations with JB?

cfleming 2015-06-08T03:05:20.000658Z

So one solution would be to license some of their components, and have Cursive work as a plugin in Ultimate, otherwise in a standalone Cursive.app/.exe

cfleming 2015-06-08T03:05:55.000659Z

Another solution is just to write a CLJS debugger, which is actually not as crazy as it sounds.


Any one use cyberpunk theme for spacemacs?


I have wird bug with company-mode and cyberpunk-theme - https://www.dropbox.com/s/zgibb91ulzhmgiz/Screenshot%202015-06-08%2012.20.08.png?dl=0

bozhidar 2015-06-08T06:19:25.000663Z

probably the theme doesn’t have company faces or something like this


nope, they have company support - https://github.com/n3mo/cyberpunk-theme.el/blob/master/cyberpunk-theme.el#L251-L260

bozhidar 2015-06-08T07:46:07.000666Z

does it look better without the doc popup?

bozhidar 2015-06-08T07:46:33.000667Z

maybe it messes something up (I remember this was the case for ac-mode)


Yep, without doc popup it dosn’t look like a crap

benedek 2015-06-08T08:13:00.000669Z

[ANN] we are getting close to clj-refactor/refactor-nrepl release 1.1.0 some new stuff: rename directory/package. find/rename macro support, inlining symbols, add stubs for protocols, interfaces or from example usage, various bugfixes checking 1.1.0 snapshot and giving us feedback (bugreports) would be great btw 😉

xlevus 2015-06-08T08:55:37.000670Z

@bozhidar: bingo. I have no idea how it's supposed to be used... I could have sworn I saw a tutorial that made me go "wow, maybe I should consider Emacs/CIDER", but I can't find it any more.

martinklepsch 2015-06-08T12:30:05.000672Z

I’m playing around with Cursive and Quil for an upcoming ClojureBridge workshop but I’m failing to get a REPL to work

martinklepsch 2015-06-08T12:31:09.000673Z

It tells me that no Module SDK is defined and I need to choose one but the dropdown has no options :doge:

martinklepsch 2015-06-08T12:35:21.000674Z

Ah — I think I disabled all plugins in the beginning including JDK IntelliJ stuff

arrdem 2015-06-08T15:28:32.000675Z

@martinklepsch you have to tell intellij where to find the system jvm

arrdem 2015-06-08T15:28:59.000676Z

In case you haven't figured that out in the last n hours

martinklepsch 2015-06-08T15:29:15.000677Z

@arrdem: is that by default or due to my (potential) initial misconfiguration

arrdem 2015-06-08T15:29:19.000678Z

That's what that particular error means

arrdem 2015-06-08T15:29:50.000679Z

@martinklepsch by default. The cursive docs explain how to configure the jvm path.

arrdem 2015-06-08T15:30:05.000680Z


martinklepsch 2015-06-08T15:30:29.000681Z

Ok cool. Thanks!

gjnoonan 2015-06-08T16:36:22.000682Z

When trying to send defn’s to the REPL in Cursive I am now getting clojure.lang.Compiler$CompilerException: java.lang.RuntimeException: Unable to resolve symbol: defn in this context, compiling: this has worked previously … ? @cfleming

gjnoonan 2015-06-08T16:39:13.000683Z

Typing in the defn manually works (well copy/pasting)

erichmond 2015-06-08T20:43:09.000684Z

I am getting a variant of this error as well. It's why I initially asked if Colin wa in the room.


Have you tried evaluated / loading the whole file? Does that still cause the error?


"Load file in the repl"


Going based off the end of this issue - https://github.com/cursiveclojure/cursive/issues/617

gjnoonan 2015-06-08T21:02:26.000689Z

@surreal.analysis: hmm, it works when loading the whole file in 😕


So, I think that you need to evaluate the namespace every time


Before you do anything else

gjnoonan 2015-06-08T21:03:19.000692Z

if it was for locally defined things I get it, but for defn… ?

gjnoonan 2015-06-08T21:07:45.000693Z

In Intellij Preferences ->Other Settings -> Clojure there is an option to “Evaluate forms in REPL Namespace” which seems to fix

cfleming 2015-06-08T22:57:02.000694Z

adulteratedjedi: Right, that’s the option you want. You have two options - forms sent to the REPL are either evaluated in the current REPL ns, or the ns of the file they’re sent from.

cfleming 2015-06-08T22:59:49.000695Z

martinklepsch: There’s some explanation from the mailing list here: https://cursiveclojure.com/archive/689.html and some IntelliJ doc here: https://www.jetbrains.com/idea/help/sdk.html. Let me know if that doesn’t work for you.