Fork me on GitHub
#cursive
<
2015-12-10
>
rantingbob03:12:44

@cfleming: Thanks for the advice yesterday by the way....on another question...is there a way to get the repl to launch when you connect to a project?

cfleming03:12:20

@rantingbob: You mean to start it automatically? No, there isn’t right now.

rantingbob03:12:52

I noticed that I'm repeating the same actions at every launch. Open REPL window, launch repl.

cfleming03:12:38

Yeah, I can see that. Issue welcome!

cfleming03:12:36

(one thing - launching the REPL will open the window)

rantingbob03:12:51

Noted. Thank you

rantingbob03:12:38

I'm wondering if there is an instance when people wouldn't first launch a repl when they launch...or if its so common it should probably be default behaviour. As I said yesterday, I don't really know CLojure well enough to be representative. I'm still very much a learner

danielcompton03:12:18

@rantingbob: IntelliJ tends to be doing a lot of work when it starts up, so adding a REPL in there would be slow

rantingbob03:12:28

@danielcompton: Is it really that different though....as I say, I'm launching it as soon as I open the project anyway. As long as the GUI remains responsive and you get some feedback (repl window opens says connecting or some such) does it matter?

rantingbob03:12:06

Currently there is a minor inconvenience so as to appear faster at launch...or thats how I currently see it

danielcompton03:12:12

I see what you mean, I have it bound to Command+R so it’s not really a big deal in practice

rantingbob03:12:44

The REPL window, or the run config?

danielcompton03:12:10

And there’s lots of times when you want an external REPL/no REPL,e.t.c.

danielcompton03:12:21

Run config, which opens the REPL too

rantingbob03:12:39

That I don't doubt, as I said above...I'm so very new to Clojure I might be spouting nonsense

timgilbert07:12:19

Hey, quick bug report: I upgraded one of my machines from IntelliJ 14 to 15, and it prompted me to install Cursive for .clj files, but it seemed to pick up the intellij-14 version of Cursive. Once I added the intellij-15 repository per https://cursiveclojure.com/userguide/ I was able to install the 15 version of cursive and then everything worked fine. I’m AFK for a bit but I’ll check in later

cfleming09:12:08

@stijn: Yeah, I’m working on that

sveri09:12:38

Hi, I just installed intellij 15 and registered cursive with a non-commercial license. Now whenever want to enable that license the OK button never get's active, but there is no error showen either.

stijn09:12:12

@cfleming: the rest of the registration process went smoothly

cfleming09:12:27

You can ignore it for now because the new update is at the JetBrains repo, see: https://cursive-ide.com/articles/cursive-1.0.html

cfleming09:12:51

@sveri: Yes, someone else reported that too - I’ll investigate.

cfleming09:12:12

You can use the 30-day eval period for now and enter the licence later when I get that sorted out.

sveri09:12:27

@cfleming: Ok, thank you very much simple_smile

cfleming09:12:52

Just in case anyone didn’t notice, Cursive 1.0 is out!

cfleming09:12:22

Please read that, there are some important changes to where things live.

stijn09:12:33

Congratulations! simple_smile

cfleming09:12:59

It’s been a ton of work to get that all done.

cfleming09:12:29

@sveri: Which OS are you on?

sveri09:12:41

Windows 7

sveri09:12:48

64bit if that matters

sveri09:12:07

jdk 8: Java(TM) SE Runtime Environment (build 1.8.0_65-b17)

nikolap09:12:55

@cfleming: congrats on the release! I have the same issue as @sveri with my commercial license (Debian unstable, OpenJDK Runtime Environment (build 1.8.0_66-internal-b01)).

nikolap09:12:19

I've opted into the evaluation period for now, but if there's anything I can do to help debug this, let me know.

cfleming09:12:34

Thanks, I will - I’ll take a look at that now.

nikolap09:12:29

(it seems it properly detects the license -- if I remove a single character anywhere, it says "Invalid Licence Certificate", but the OK button stays disabled no matter what)

cfleming09:12:18

@nikolap: Which version of IntelliJ are you running?

nikolap09:12:48

@cfleming: Community v15.0.1

sveri09:12:57

same for me

cfleming09:12:39

Ok, I have a theory about the problem, I’ll make a dev build now, if one of you could test it that would be great.

nikolap09:12:46

that just means installing the plugin from disk, right? I'll gladly do that.

cfleming09:12:11

@nikolap: Right - could you grab http://colinfleming.net/licence/cursive-1.0.0-15.zip and see if that works better?

cfleming09:12:26

Settings-&gt;Plugins-&gt;Install from Disk

cfleming09:12:10

@sveri: You could try that too if you’re keen

nikolap09:12:16

@cfleming: yep, the OK button is enabled now!

nikolap09:12:22

should I register with this version then?

cfleming09:12:23

Once you have it installed, you… oh great

sveri09:12:37

@cfleming: works for me!

cfleming09:12:39

This is exactly the same as the other build just with that bug fixed.

cfleming09:12:43

Nice, thanks guys

sveri09:12:52

thanks for the quick fix

cfleming09:12:59

Looks like I’d better do a build with this.

sveri09:12:11

yea, more ppl will find that one surely

nikolap09:12:04

@cfleming: despite installing this from disk, I'll keep getting automatic updates from the channel, right?

cfleming09:12:09

@nikolap: Yes, you will.

nikolap09:12:19

amazing. I've successfully activated the license it seems simple_smile thanks for the quick fix!

cfleming09:12:35

No problem, thanks for the help!

puzzler09:12:36

Any advantage to using IntelliJ Ultimate edition vs Community edition if I'm only using it for Cursive?

cfleming09:12:21

@puzzler: No, the main advantage would be if you were working with web tech as well, JS/HTML etc

cfleming09:12:33

If it’s just clj/cljs, it’s the same.

cfleming09:12:42

(and Java/XML etc)

puzzler09:12:14

So the additional JS/HTML support doesn't really alter the clojurescript experience?

cfleming09:12:11

@puzzler: No, Cursive has its own JS indexing support which doesn’t rely on the JetBrains JS support

cfleming09:12:33

If you’re editing JS it doesn’t help you, but if you’re only consuming JS from CLJS there’s basically no difference.

cfleming10:12:27

I just pushed 1.1.0, which should fix the ok button problem.

d-t-w10:12:49

Congrats colin. Is the start of turning Nelson into a tech hub?

cfleming10:12:35

@d-t-w: Thanks! I’ll be opening my own Facebook style office before you know it.

sveri10:12:46

@cfleming: It's nice that there is a non commercial license available. Is that something that you decided or did Jetbrains decide to do so?

cfleming10:12:42

@sveri: No, I’m totally unaffiliated with JetBrains. I’d like Cursive to be widely available for things like OSS and academic work, hopefully not too many people will take advantage of it.

sveri10:12:04

Thank you, really. I just use it for closp and trying things out, never intended to make money out of it until now. So I really appreciate that move. And really, cursive is godsend for me, given the fact that emacs does everything well but being an editor 😄

cfleming10:12:34

No problem, I’m just glad that people enjoy using it and that more of them will be able to!

jeremys12:12:35

@cfleming: Congrats on the 1.0 of cursive

jaju12:12:20

@cfleming: Congratulations! simple_smile

sveri13:12:31

@cfleming: Not sure if this was your update or the fact that I installed the plugin from disk, but all of a sudden cursive seems to be broken, especially when trying to add a run configuration

sveri13:12:42

The screen is foobar and I see this exceptions in the log

ricardo17:12:28

Time to join the release congrats chrous @cfleming I was just doing some Faraday tests on IntelliJ and it’s amazing how much the pretty printing helps.

rantingbob17:12:14

@cfleming: Congrats on the release 😄 I hope its a roaring success

markmandel17:12:44

Finally saw that Cursive went 1.0! Nice work @cfleming

cfleming19:12:03

Thanks everyone!

cfleming19:12:56

@sveri: Lots going on, I’ll take a look at that in a bit.

sveri19:12:49

@cfleming: thank you, take your time. I use a normal repl inbetween

Pablo Fernandez20:12:14

Does Cursive detect checkout libs now?

danielcompton20:12:38

@pupeno: it has for a long time

Pablo Fernandez20:12:50

Oh… I somehow didn’t trigger it before.

michaelr21:12:31

cfleming: i've been tracking changes in the eap page so far.. where would be the new location of the changelog now?

cfleming21:12:09

@michaelr: Good question actually, I haven’t thought that through.

cfleming21:12:20

I’ll get a changelog up somewhere.