Fork me on GitHub
#cursive
<
2022-01-13
>
Joni11:01:39

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?

imre12:01:38

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)

Joni12:01:17

Aa interesting, seems to work in another project.

cfleming21:01:31

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

octahedrion15:01:05

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 ?

jmv18:01:32

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

manutter5118:01:46

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

jmv18:01:36

yep, git works just fine

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

jmv18:01:46

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?

manutter5118:01:38

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

☝️ 1
manutter5118:01:04

(Which might be a helpful diagnostic, actually.)

jmv19:01:25

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

jmv19:01:44

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

jmv19:01:47

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