Fork me on GitHub
#lsp
<
2024-03-21
>
Alexander Kouznetsov18:03:48

Action suggestion: change order of arguments in function or macro.

ericdallo18:03:57

Someone suggested the same some other day, would be nice to have a detailed issue for that, BTW we do have a drag command/code-action but I suppose your suggestion would be to change var references too

Alexander Kouznetsov18:03:13

Yes, it should apply to all call sites. Especially handling cases when they’re in threading -> or ->>.

Noah Bogart18:03:01

that already exists unless i'm misunderstanding

Noah Bogart18:03:55

i suggested this in july 2022 and it was implemented later in september: https://github.com/clojure-lsp/clojure-lsp/pull/1230

🙌 1
ericdallo18:03:24

ah yeah, just forgot about that ! there is the Drag param backward/forward code actions :D

Alexander Kouznetsov19:03:50

Oh, cool! I didn’t notice it. Awesome!

👍 1