Fork me on GitHub

I am pretty sure I used to be able to change the indentation of the arrow macros from this context actions before, but now the option is gone? Also there doesn't seem to be an option for this in the code style preferences. Is this something intended or is something broken on my end?


Works for me using IntelliJ IDEA 2021.3.1 (Community Edition) Build #IC-213.6461.79, built on December 28, 2021 com.cursiveclojure.cursive (1.12.2-eap1-2021.3)


Aa interesting, seems to work in another project.


Check Preferences | Editor | Intentions and make sure that the relevant Clojure ones are enabled. Does that help?


what does it mean when clicking on an exception link doesn't jump to the line in the source but instead brings up a popup list saying "choose target file" ? If I click on any of the files listed it jumps to that line in that file, but why would I want to jump to that line in any other file but that which contains the function in which the exception occurred ?


i'm having an issue trying to open a lein project. it indicates that none of the files are under a source or test root and when i try to click the refresh button on the lein panel, i get this error:

10:11 AM	Error reading /Users/jeremiah/src/the-project/project.clj
				fatal: not a git repository (or any of the parent directories): .git
which is also odd because i just checked out the repo from git


That's odd, have you tried typing git status at the command line to see if git thinks it's a valid project?


yep, git works just fine

> git status
On branch master
Your branch is up to date with 'origin/master'.


also git in intellij works just fine as well

R.A. Porter18:01:46

I don't think that has anything to do with your repository. I think it's a dependency in your project.clj. Do you have one in there referencing a git repo?

R.A. Porter18:01:31

Probably quicker...can you run the lein project from the command line?


There's also lein deps :tree, though that might throw the same error.

☝️ 1

(Which might be a helpful diagnostic, actually.)


i can run all the lein commands normally. i normally use the project from emacs/cider and it works just fine.


but let me double check it's not some lein plugin


ah yep, it's a plugin we use that sources the project version from git instead of hard coding it