This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-09-15
Channels
@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.
Is there any settings to allow eval in scratch files?
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
did the same as you - added the aliases with extra paths to the clojure invocation options
This is how you do that: https://cursive-ide.com/userguide/deps.html#working-with-aliases
“Aliases to enable by default” just chooses which of those should be automatically selected for new projects.
@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.
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?
@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.
@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.