Fork me on GitHub
#lsp
<
2022-09-22
>
skylize22:09:46

Request textDocument/codeAction failed. exception in Calva. clojure-lsp version used: 2022.09.21-15.55.25-nightly

()#_() 
With cursor anywhere except between the first 2 parens. Then use mouse or arrow keys to place cursor inside uncommented form to trigger.
(|)#_()
Or place cursor between first 2 parens, and restart server. Triggers immediately when started.

skylize22:09:51

Also triggers left of first paren

|()#_()  ;; 💣
and with other valid forms commented out, including unresolved symbols
(|)#_foo  ;; 💣
(|)#_(defn my-fn [x] (str "whoo hoo! " x)) ;; 💣
but not with other bracket types on the left, nor with invalid code on the right.
{|}#_foo ;; 👌🏻
(|)#_:   ;; 👌🏻 (except linter still sees it,
         ;;   `uneval node expects one value
`

ericdallo02:09:14

Please open a issue, looks like we should fix it

skylize03:09:36

Not sure how to get request/response log

ericdallo12:09:29

There is a calva output IIRC: Language server something