This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-01-23
Channels
- # announcements (7)
- # babashka (11)
- # babashka-sci-dev (1)
- # beginners (8)
- # biff (1)
- # calva (8)
- # chlorine-clover (3)
- # cider (9)
- # clj-kondo (16)
- # cljdoc (9)
- # clojure (79)
- # clojure-australia (1)
- # clojure-dev (5)
- # clojurescript (24)
- # data-science (3)
- # datomic (2)
- # emacs (54)
- # fulcro (1)
- # graalvm (1)
- # jobs (5)
- # lsp (25)
- # malli (7)
- # meander (10)
- # off-topic (44)
- # other-languages (8)
- # portal (10)
- # remote-jobs (1)
- # sci (1)
- # shadow-cljs (6)
- # vim (4)
I don't understand this error message on my deps.edn file in Calva:
Are you sure that comes from Calva? I don't recognize it... Do you have some other Clojure extension active maybe?
Fwiw that looks like an error you might get if you use a JSON parser to read an edn file
Something must have gone wrong with VSCode. A reload seem to have resolved the issue so far. Thanks
This with VS Code needing reloads is happening all too often. I've suspected that it really is VS Code and not Calva a while, and this datapoint surely seems to support that. Not saying it can't be Calva, but the errors are so strange and the clues so few...
Did clj-kondo go away? Or is it no longer reported in the startup messages? I see this:
Calva is utilizing cider-nrepl and clojure-lsp to create this VS Code experience.
nREPL dependencies configured:
nrepl: 0.9.0
cider-nrepl: 0.27.4
cider/piggieback: 0.5.3
clojure-lsp version configured: latest
If you are new to Calva, please consider starting with the command:
**Calva: Fire up the Getting Started REPL**
on a fresh project.Eh, it’s probably still there, I see this message in the language client communication:
[Trace - 6:41:41 PM] Received notification 'textDocument/publishDiagnostics'.
Params: {
"uri": "file:///private/tmp/macro_test/src/macro_test/core.clj",
"diagnostics": [
{
"range": {
"start": {
"line": 12,
"character": 13
},
"end": {
"line": 12,
"character": 20
}
},
"severity": 1,
"code": "not-a-function",
"source": "clj-kondo",
"message": "a number is not a function",
"tags": []
}
]
}