Fork me on GitHub
#cursive
<
2019-06-10
>
Yadia13:06:51

Does Intellij/Cursive provide auto complete for Java classes ? It doesn't work for me and I didn't find anything ? :face_with_rolling_eyes:

kanwei14:06:51

works for me - make sure you have a project java ide set

Yadia14:06:21

@kanwei thanks. sorry I didn't get what you mean ?

kanwei14:06:03

project sdk

Yadia14:06:53

I think the error may result from project SDK, currently intellj uses "jre64" that is default java runtime. and intellij uses this SDK by default on Iinux

Yadia15:06:13

I reinstall Java and add JDK to Intellij and it solved problem. It wasn't cursive problem it was java and intellj stuff though:slightly_smiling_face:

mhcat16:06:46

Can anyone tell me where to look up an exception report generated by cursive? I'm blocked by an error caused by one of the leiningen plugins we're using (lein-v) - each time it fails, it generates an addendum to exception report #630 but I'm not sure where to look to see what's going on with that report/issue.

cfleming22:06:51

@j0ni Looks like: java.io.FileNotFoundException: resources/big_enos/version.edn (No such file or directory)

mhcat22:06:51

right - that file does exist, but I think that path is lacking a PROJECT_DIR before it

cfleming22:06:20

Depending on how you’re doing that, Cursive performs some black magic to make it work.

cfleming22:06:37

Can you share the code that’s writing that file? By DM if it’s sensitive?

mhcat22:06:45

I ended up trying a leiningen task as a pre-task for my repl

mhcat22:06:36

turns out there was already an issue on there https://github.com/roomkey/lein-v/issues/26 but none of the workarounds helped in my instance

cfleming22:06:00

@j0ni Ok, I’ll take a look at that later - I should be able to repro based on that.