Fork me on GitHub
#cursive
<
2019-09-15
>
mike_ananev09:09:26

@cfleming In old versions of Cursive, I could eval s-exp in scratch files (IDEA: File -> New -> New Scratch file.). In current version (1.9.0-SNAPSHOT1-2019.2) scratch clj files in IDEA are not recoginezed as clj files, so I can't eval any expressions.

mike_ananev09:09:34

Is there any settings to allow eval in scratch files?

Space Guy09:09:39

In a deps.edn project, files under alias dev {:extra-paths ["dev"]} are saying "is not under a source root" even though I've added the alias under "aliases to enable by default". If I press "add source root", it works temporarily, but the popup comes back after I restart the editor

dazld09:09:49

hm! i’ve seen this problem too. I didn’t figure out how to fix it.

dazld09:09:28

did the same as you - added the aliases with extra paths to the clojure invocation options

cfleming09:09:06

“Aliases to enable by default” just chooses which of those should be automatically selected for new projects.

Space Guy10:09:59

Great, thanks - that one works for me

cfleming09:09:36

@mike1452 I think that should work - I’ll try to repro that tomorrow.

mike_ananev10:09:55

@cfleming ha, it works. for some reason scratch.clj file wasn't recognized as Clojure file. After I delete it and re created everything looks good.

Kari Marttila17:09:09

I have IntelliJ IDEA v. 2019.1.4. When I tried to upgrade to v. 2019.2.1 a few weeks ago there were some issues with the Cursive plugin. Now there is the new IntelliJ version 2019.2.2. available - is it safe to upgrade to that version with Cursive?

cfleming20:09:24

@mike1452 Yes, when you create the scratch file, you have to explicitly say you want a Clojure one - I don’t think it’s picked up automatically from the extension.

cfleming20:09:40

@kari.marttila There are still problems with deps support. I had hoped to get an EAP out by now with the new support, but I got distracted with a couple of other things - it should be out shortly.

cfleming21:09:58

@rarous Sorry, I forgot to follow up on that issue - the DialogWrapper problem is fixed in 2019.2.3, which is in EAP now.

👍 8