Howdy! I've noticed that sometimes the formatter stops working for clojure files in Calva, but I haven't found much more of a pattern than that. Is there an output tab or log file that might be writing out if there is an error?
There may be something in the developer tools console (available from the Help menu). Are you using format-on-save? There’s an issue on that, that you may be able to add clues to: https://github.com/BetterThanTomorrow/calva/issues/2789
Thanks, I'll take a look and add anything I see.
I added a comment, it looks like essentially no logging happens when Format Document is called in the latest version 503 versus 498 where a bunch of messages come out on format.
Happy to try more if you have ideas. Is there a way to get LSP logs?
Yes, not that LSP has anything to do with this. You reach its log via the clojure-lsp button in the status bar.
I took that idea from the issue. I'll look at the developer tools console now.
Deleted my unhelpful comment. Developer tools show 4 error logs on format with the latest (none in 498). Added a comment with details.
Interesting. I obviously haven’t read the initial issue description properly. 😃 There is a lot of red herrings in the logging generally.
Also, not sure when it was added, but the quick fix to resolve macro is great. Thanks!
clojure-lsp power