Fork me on GitHub
#editors
<
2015-06-08
>
danielcompton03:06:29

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

cfleming03:06:50

danielcompton: Sadly no

cfleming03:06:12

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

danielcompton03:06:38

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

cfleming03:06:32

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

cfleming03:06:49

But it doesn’t work in Community edition, obviously

danielcompton03:06:49

Right, makes sense

danielcompton03:06:16

Hence the negotiations with JB?

cfleming03:06:20

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

cfleming03:06:55

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

delaguardo05:06:44

Any one use cyberpunk theme for spacemacs?

bozhidar06:06:25

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

bozhidar07:06:07

does it look better without the doc popup?

bozhidar07:06:33

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

delaguardo08:06:55

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

benedek08:06:00

[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 😉

xlevus08:06:37

@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.

martinklepsch12:06:05

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

martinklepsch12:06:09

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

martinklepsch12:06:21

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

arrdem15:06:32

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

arrdem15:06:59

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

martinklepsch15:06:15

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

arrdem15:06:19

That's what that particular error means

arrdem15:06:50

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

martinklepsch15:06:29

Ok cool. Thanks!

gjnoonan16:06:22

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

gjnoonan16:06:13

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

erichmond20:06:09

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

surreal.analysis20:06:31

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

surreal.analysis20:06:00

"Load file in the repl"

gjnoonan21:06:26

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

surreal.analysis21:06:53

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

surreal.analysis21:06:58

Before you do anything else

gjnoonan21:06:19

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

gjnoonan21:06:45

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

cfleming22:06:02

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.

cfleming22:06:49

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.