Fork me on GitHub
#cursive
<
2017-01-10
>
pupeno06:01:38

How do I manually set the Clojure version in projects in which Cursive cannot automatically tell?

cfleming06:01:04

@pupeno I don’t understand what you mean - the Clojure version is determined by the Clojure jar you have attached to your project.

pupeno07:01:59

cfleming: I haven’t attached anything. Normally Cursive figures it out automatically from project.clj, but I’m working on a repo with no such thing (cljsjs)

pupeno07:01:15

So, I get every symbol as unrecognized.

cfleming07:01:46

But even CLJS projects normally have Clojure attached.

cfleming07:01:00

I don’t know what cljsjs projects normally look like.

cfleming07:01:10

Can you show me an example?

pupeno07:01:20

It’s using Boot.

pupeno07:01:40

But even then, it’s a collection of directories, each one is its own project.

pupeno07:01:00

I had this happened before with other projects and you told me to just set it up somewhere in the config, in IntelliJ. Sadly, I forgot where 😞

cfleming09:01:04

@pupeno: I don’t remember that, AFAIK there’s no way to do that.

cfleming09:01:08

The general idea using boot right now is to generate a project.clj from it and import that.

pupeno09:01:52

Really? Odd.

michaelr13:01:35

I've noticed the auto complete suggestions popup has recently often been hiding the code that I were typing. Does anyone else experience this?

michaelr13:01:10

I can reproduce this behavior by invoking the popup manually (Ctrl-Space) and then hitting Ctrl-Space again.