my intellij started freezing this morning, and it's happening with regularity
Could you check for automatic thread dumps, see: https://clojurians.slack.com/archives/C0744GXCJ/p1774297200149969?thread_ts=1774268403.525729&cid=C0744GXCJ
oh I have a few. you want them?
lol good lord I needed to scroll up juuust a bit to see that I'm not alone 😄
also: I don't have to be executing things in the repl for this to happen
my repl is ~always open, but I'll just be editing code (like a luddite) and it'll freeze.
(remote repl connected to localhost)
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.
(absolutely no clue if cursive is at fault here.)
getting this
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
Same here, the problem is fixed. Thanks!
@potetm @henrik @serioga This should fix the deadlock issue, let me know if it doesn't.
I'm off to bed now, but will check in in the morning.
It works for me, thank you.
@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?This should be fixed in the latest EAP BTW, along with a bunch of other fixes.
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 🤯
Is this new in the latest EAP, or has that been happening previously?
@onetom ^^
yes, it's a new phenomenon
if i revert to the classic formatter settings, then the mentioned form is left as is, after a cmd-shift-l
Ah ok, this is with the new standard formatter? Ok, I'll check that, thanks.
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)))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 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.