This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-31
Channels
- # aleph (12)
- # announcements (4)
- # asami (7)
- # babashka (20)
- # beginners (92)
- # calva (74)
- # clj-kondo (8)
- # cljdoc (70)
- # clojure (47)
- # clojure-dev (29)
- # clojure-europe (27)
- # clojure-nl (7)
- # clojure-norway (3)
- # clojurescript (7)
- # cursive (2)
- # datomic (1)
- # emacs (8)
- # events (5)
- # fulcro (36)
- # gratitude (4)
- # humbleui (25)
- # introduce-yourself (1)
- # lsp (26)
- # malli (6)
- # missionary (8)
- # nbb (50)
- # off-topic (9)
- # pathom (2)
- # pedestal (3)
- # portal (32)
- # practicalli (5)
- # reitit (5)
- # releases (1)
- # ring (6)
- # shadow-cljs (87)
- # sql (31)
- # tools-deps (26)
- # vim (3)
- # xtdb (15)
Idea for lsp: show # references in lens-mode per function overload (to detect whether an overload is used at all)
Sounds cool, that's not the first time someone suggest different reference lens presentation, @U11EL3P9U suggested something similar but more focused on tests, maybe we could have a setting for those different kind of lens
Any reason why I'm seeing 2022-10-31T18:47:55.154Z WARN [clojure-lsp.server:43] - received unexpected request clojure/cursorInfo/log
?
$ clojure-lsp --version
clojure-lsp 2022.10.05-16.39.51
clj-kondo 2022.10.05
Yeah, I expose it in coc-clojure, and at some point it stopped working so I'm trying to figure out if it was something I did or something y'all did lol
clojure-lsp logs shortly after start up:
2022-10-31T18:53:03.664Z INFO [clojure-lsp.feature.clojuredocs:23] - [Clojuredocs] Refreshing clojuredocs cache took 1115ms.
2022-10-31T18:53:08.446Z INFO [clojure-lsp.handlers:379] - :code-lens 0ms
2022-10-31T18:53:08.459Z INFO [clojure-lsp.handlers:385] - :resolve-code-lens 6ms
[repeated a bunch]
2022-10-31T18:53:08.541Z INFO [clojure-lsp.handlers:385] - :resolve-code-lens 89ms
2022-10-31T18:53:14.006Z WARN [clojure-lsp.server:43] - received unexpected request clojure/cursorInfo/log
coc logs:
2022-10-31T14:53:02.551 INFO (pid:256201) [services] - LanguageClient Clojure Language Client state change: starting => running
2022-10-31T14:53:02.554 DEBUG (pid:256201) [sources] - created service source clojure
2022-10-31T14:53:02.563 INFO (pid:256201) [services] - service clojure started
2022-10-31T14:53:09.460 DEBUG (pid:256201) [core-documents] - buffer created 13 false file:///home/noah/work/muncher/%5BWilder%20Float%200%5D
2022-10-31T14:53:11.182 INFO (pid:256201) [attach] - receive notification: runCommand []
2022-10-31T14:53:11.198 DEBUG (pid:256201) [core-documents] - buffer created 15 false list:/commands
2022-10-31T14:53:13.966 DEBUG (pid:256201) [core-documents] - document detach 15 list:/commands
2022-10-31T14:53:13.967 DEBUG (pid:256201) [coc-clojure] - Executing 'fn' command lsp-clojure-cursor-info
2022-10-31T14:53:14.005 INFO (pid:256201) [extension:coc-clojure] - file:///home/noah/work/muncher/src/crossbeam/db.clj 22 9
i'm logging out the uri, line, and character at the end there
https://github.com/clojure-lsp/clojure-lsp/blob/master/cli/src/clojure_lsp/server.clj#L198
i am calling return client.sendRequest("clojure/cursorInfo/log", {
directly lol
I'll check the docs for sending notifications. Thanks!
figured it out, thank you
Is there a way to configure the (very useful!) Create private function 'foo' action to output the args list on a new line?