Fork me on GitHub
#calva
<
2021-12-18
>
JR23:12:50

There’s a quick-fix option called Create private function for functions that aren’t yet defined. I can’t seem to make this work. Is it just me?

JR23:12:41

I do see this in the Clojure Language Client output:

[Trace - 6:02:48 PM] Received response 'textDocument/codeAction - (2783)' in 23ms.
Result: [
    {
        "title": "Create private function 'do-a-thing'",
        "kind": "quickfix",
        "data": {
            "id": "refactor-create-private-function",
            "uri": "file:///Users/bsom/lake-pend/lake-pend-oreille/src/lake_pend_oreille/core.clj",
            "line": 2,
            "character": 1
        }
    }

bringe01:12:09

That should be fixed when the next clojure-lsp version is released, so long as your Calva is using the latest clojure-lsp version (it’s set to do this by default).

JR13:12:27

Awesome!