cursive

2026-03-24T12:32:03.950399Z

my intellij started freezing this morning, and it's happening with regularity

cfleming 2026-03-24T12:42:03.000179Z

Could you check for automatic thread dumps, see: https://clojurians.slack.com/archives/C0744GXCJ/p1774297200149969?thread_ts=1774268403.525729&cid=C0744GXCJ

2026-03-24T12:44:15.493429Z

oh I have a few. you want them?

2026-03-24T12:46:53.892579Z

2026-03-24T12:48:34.057389Z

lol good lord I needed to scroll up juuust a bit to see that I'm not alone 😄

2026-03-24T12:57:07.149589Z

also: I don't have to be executing things in the repl for this to happen

2026-03-24T12:57:30.841989Z

my repl is ~always open, but I'll just be editing code (like a luddite) and it'll freeze.

2026-03-24T12:58:24.297159Z

(remote repl connected to localhost)

cfleming 2026-03-24T13:10:26.089669Z

Yeah, I think the issue is when IntelliJ updates actions, so it doesn't actually require repl execution. Thanks, I think I have this fixed but I'll check my fix against your dumps too.

1
2026-03-24T12:32:36.365259Z

(absolutely no clue if cursive is at fault here.)

2026-03-24T12:32:51.444919Z

getting this

cfleming 2026-03-24T15:29:44.174189Z

Cursive 2026.1-eap4 is out. It's a bugfix release, fixing one UI deadlock and a bunch of standard style formatting issues. https://cursive-ide.com/blog/cursive-2026.1-eap4.html

🎉 2
henrik 2026-03-25T09:55:15.491799Z

Same here, the problem is fixed. Thanks!

cfleming 2026-03-24T15:30:14.159479Z

@potetm @henrik @serioga This should fix the deadlock issue, let me know if it doesn't.

🚀 1
cfleming 2026-03-24T15:31:21.752939Z

I'm off to bed now, but will check in in the morning.

serioga 2026-03-24T15:33:40.446489Z

It works for me, thank you.

2026-03-24T15:51:46.610789Z

thanks Colin!

👍 1
onetom 2026-03-24T02:16:40.458119Z

@cfleming this

(-> [1 2 3]
      (->> (identity)
           (map identity)))
is being reformatted to
(-> [1 2 3]
    (->> (identity)
         (map identity)))
in our (main) project, but NOT in a fresh project. i've exported the code settings from our project into an intellij xml file to compare it with the empty project's settings, but i don't quite see what's the difference. i've also removed our .cljstyle and .cljfmt.edn files from the project root. there was a Settings / Editor / Code Style / Detect and use existing file indents for editing setting turned off, but even if i turned that back on, it hasn't made a difference. what else should i look into?

cfleming 2026-03-24T11:07:58.467219Z

https://github.com/cursive-ide/cursive/issues/3085

🙏 1
cfleming 2026-03-24T22:37:52.344039Z

This should be fixed in the latest EAP BTW, along with a bunch of other fixes.

onetom 2026-03-25T01:29:25.432099Z

2 hours after the release i've tried it already, on that file, which exhibited the problem and it worked as expected. thank you for the blazing fast 💨 turnaround time! finally there is a way to ensure formatting uniformity between cursive and a command-line tool! i've also managed to hook up the bun compiled version of the formatter to our nix shell, because the AI overview of my google search for a "clojure-standard-style nix derviation" just gave me a working nix package 🤯

🎉 1
cfleming 2026-03-24T03:15:47.802369Z

Is this new in the latest EAP, or has that been happening previously?

cfleming 2026-03-24T03:16:10.220329Z

@onetom ^^

onetom 2026-03-24T03:51:45.785059Z

yes, it's a new phenomenon

onetom 2026-03-24T03:54:08.822509Z

if i revert to the classic formatter settings, then the mentioned form is left as is, after a cmd-shift-l

cfleming 2026-03-24T04:04:08.184679Z

Ah ok, this is with the new standard formatter? Ok, I'll check that, thanks.

✔️ 1
onetom 2026-03-24T04:41:26.043389Z

ah, i think, i see what's happening. if the deeper form is a, indented by 2 spaces, it's considered correctly formatted b, not indented to the 1st arg, it gets 2-spaces indented and the outer form won't get reformatted, only the inner one and correctly a,

(-> [1 2 3]
      (->> (identity)
        (map identity)))
b,
(-> [1 2 3]
      (->> (identity)
              (map identity)))
or
(-> [1 2 3]
      (->> (identity)
          (map identity)))

onetom 2026-03-24T04:49:37.980969Z

example repro subdir:

mkdir std-clj-fmt-lab
cd std-clj-fmt-lab
echo '{}' > deps.edn
mkdir -p src/lab/
cat > src/lab/example.clj < [1]
    (->> (identity)
         (map identity)))
EOF

onetom 2026-03-24T05:20:10.908359Z

i just tried formatting with the bun-compiled version of standard-clojure-style-js CLI:

% mkdir -p src/lab/     

% cat > src/lab/example.clj <<EOF
(ns lab.example)

(-> [1]
    (->> (identity)
         (map identity)))
EOF

% standard-clojure-style fix src/lab/example.clj 
standard-clj fix [dev]

✓ /src/lab/example.clj [3.13ms]

1 file formatted with Standard Clojure Style :+1: [13.91ms]

% cat src/lab/example.clj 
(ns lab.example)

(-> [1]
    (->> (identity)
         (map identity)))
and it behaved as expected; it hasn't changed the formatting.