Fork me on GitHub
#cursive
<
2017-05-03
>
cfleming00:05:10

@bradford Sadly, you can’t. Lein really doesn’t have good support for this, since it’s not designed to support IDEs.

cfleming00:05:41

Cursive will allow you to download source for deps, but in a bit of a roundabout way.

cfleming00:05:21

If you try to navigate to a Java class that doesn’t have source attached, Cursive will prompt you to download it and will attach it automatically.

cfleming00:05:34

That is library by library though, of course.

cfleming00:05:46

Actually, thinking about it, you can make lein download sources, like this:

:dependencies [[org.clojure/clojure "1.8.0"]
                 [junit "4.12"]]
  :profiles {:dev {:dependencies [[junit "4.12" :classifier "sources"]]}})
But obviously no-one actually does that. But I could detect that and attach the sources when you do that.

bradford00:05:56

Yeah, I was actually thinking of that...a bit brute force, but at least it's one-time

gklijs12:05:48

You can also do a lein pom, and then use the maven plugin to get all sources and/or documentation of the dependencies.

misha12:05:25

resolve clojure.test.check.generators/let as let macro
@cfleming ♥️

yonatanel13:05:05

Is anybody using a remote nREPL instead of local? I'm thinking about running a nREPL in docker-compose with other services such as kafka so I can access them while coding within the docker network.

pc12315:05:59

Yeah, remote nREPL works well

mkeathley18:05:58

Is there a plan to release Cursive as a standalone IDE?

mkeathley18:05:28

Keep having keybindings stomp on each other and thought it would be useful to have this be a standalone product

zylox18:05:11

The last few times it has come up im pretty sure @cfleming has said that no, he doesnt have plans at the moment for that

zylox18:05:22

but that might have changed for all i know

zylox18:05:01

(or i could be wrong! my mental garbage collection can be quite unreliable)

zylox18:05:48

actually the site says "in the future" so....ya i dont know

danielcompton20:05:56

@yonatanel I use it a remote nREPL with Boot

cfleming21:05:08

@mkeathley @zylox So I would like to but it’s been fairly low priority since getting the community edition and installing Cursive is pretty trivial these days.

cfleming21:05:24

@mkeathley What are the problems you’re having with keybindings?

mkeathley21:05:52

Mainly just trying to use intellij as a Java and Clojure ide

mkeathley21:05:12

Although…I suppose I could install community and use that as my Cursive IDE

cfleming21:05:26

Which keybindings are problematic?

cfleming21:05:33

And which platform are you on?

cfleming21:05:01

I’m actually going to sort out how the keybindings works Real Soon Now, so I’m interested in feedback.

mkeathley21:05:39

I am on Ultimate 2017.1

mkeathley21:05:05

It’s the issue where the default cursive bindings have overlap in general with the default intellij bindings

mkeathley21:05:20

I basically want to have my cake and eat it too

mkeathley21:05:28

I will send a list later when I have time

mkeathley21:05:33

It’s several key bindings

cfleming21:05:49

So that overlap shouldn’t matter, because the Cursive bindings will only take effect when you’re in a Clojure context, i.e. editing Clojure code.

mkeathley21:05:27

I was worried I would do 2 things, so I have been neglecting to use many of them 😛

cfleming21:05:53

Hehe, no, it should hopefully just do the right thing.

cfleming21:05:05

If it doesn’t I’d definitely like to know, though.

mkeathley21:05:17

I’ll keep you posted 🙂