Fork me on GitHub
#cursive
<
2020-05-31
>
royalaid19:05:02

I was wondering if Cursive has something like the HTML -> Convert for Lein styled deps, [cheshire "5.10.0"] , to deps.edn style, cheshire {:mvn/version "5.10.0"}

cfleming21:05:49

There isn’t, but that’s a great idea.

royalaid21:05:01

depending on how hard it is, might benefit from going both ways

royalaid21:05:20

so in project.clj -> lein and deps.edn -> deps

cfleming21:05:17

Yeah, the tricky bit is ensuring the user is in a place which makes sense to paste. In particular the deps one is tricky because it’s not a single complete form.

royalaid19:05:07

I find myself rewriting that a ton and it would be great to just be able to paste it and go