lsp 2026-08-03

Is there a code action for transforming between namespaced map syntax (`#:foo{:bar 1}`) and normal map syntax (`{:foo/bar 1}`) and vice versa? If not that'd be a handy thing to have

👀 1

but yes, we can do that

🙏 1

I did a commit on master, nightly build should be avaialbe in ~5mins, LMK!

I'll have to wait until it's available in calva to test it unfortunately

you can set calva to use nightly clojure-lsp in its settings

Maybe he's thinking of the lack of dynamic commands in calva?

true, although I believe for code actions that would work

I think Calva has problem for anything that's a command. I rebuilt clojure-lsp master and got command 'cycle-namespaced-map' not found when I tried to invoke it

hum, I thought code actions were not affected, but makes sense since they spawn commands, yeah, dynamic commands is really needed there

I'm building a new VSIX now, will let you know

I was looking at dynamic commands, but I don't (yet?) know enough about what VSCode is doing with these commands

I'm lazy about making changes to Calva 🙂

😅 1

I also wonder if there are other clojure-lsp code actions that don't work in Calva due to the commands

probably one or other

but people usually complain

cycle-namespaced-map works for me!

🆒 1