This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-02-27
Channels
- # announcements (47)
- # babashka (36)
- # beginners (7)
- # biff (34)
- # calva (9)
- # cider (5)
- # clj-http (13)
- # clj-kondo (24)
- # cljs-dev (9)
- # clojure (146)
- # clojure-austin (1)
- # clojure-europe (16)
- # clojure-nl (1)
- # clojure-norway (8)
- # clojure-uk (2)
- # clojurescript (4)
- # clr (1)
- # core-async (9)
- # cursive (11)
- # datomic (6)
- # emacs (17)
- # events (3)
- # fulcro (45)
- # graphql (7)
- # helix (1)
- # hyperfiddle (28)
- # java (1)
- # london-clojurians (1)
- # lsp (75)
- # malli (1)
- # membrane (35)
- # reitit (6)
- # releases (1)
- # shadow-cljs (48)
- # tools-build (5)
- # tools-deps (27)
As of today, with the latest Calva, I'm seeing this error a lot while editing:
[Error - 3:02:14 PM] Request textDocument/documentSymbol failed.
Message: Internal error
Code: -32603
[object Object]
Seems to happen on almost every keystroke.
When I see things like this, I save the file and start deleting things. Start with deleting all the forms below the current one, then all the ones above. Assuming I get it down to the one form, I start stripping things out of the form, trying to keep everything valid (even if it wouldn't pass linting) until reducing it to the absolute minimum characters that break LSP.
It didn't seem to affect any functionality so I ignored it -- and at some point in the last few hours it seems to have stopped doing it. Weird. And it was happening in every file -- in perfectly valid code that LSP was happy with on Thursday.
Weird. Maybe an invalid cache that eventually got overwritten with a valid update? Glad you aren't suffering. 😁
🤷:skin-tone-2: Dunno. I figured I'd post just in case others were seeing some weirdness -- in case it was "just me"...
textDocument/documentSymbol
points to the API for "Go To Symbol". Super-strange that you would be getting errors about it on random keystrokes.
Yeah, even when typing characters inside a string it was happening... that was what seemed so bizarre about it.