This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-10-24
Channels
- # aws (2)
- # babashka (27)
- # beginners (97)
- # calva (1)
- # cherry (12)
- # cider (6)
- # clara (12)
- # clj-kondo (24)
- # clj-on-windows (4)
- # cljfx (14)
- # clojure (54)
- # clojure-australia (3)
- # clojure-europe (26)
- # clojure-nl (1)
- # clojure-norway (4)
- # clojure-uk (9)
- # clojurescript (65)
- # conjure (5)
- # cursive (7)
- # datomic (18)
- # emacs (6)
- # helix (2)
- # honeysql (1)
- # jobs (1)
- # joyride (15)
- # kaocha (2)
- # lsp (10)
- # malli (5)
- # nbb (12)
- # observability (5)
- # off-topic (5)
- # reitit (2)
- # releases (4)
- # ring (1)
- # sci (17)
- # shadow-cljs (34)
- # testing (29)
- # tools-deps (45)
- # vim (7)
- # xtdb (6)
I'm not an LSP user myself, but I do want lambdaisland/launchpad to work well for LSP users. With launchpad the classpath will differ from invocation to invocation (depending on which aliases people choose), and can change at any time during runtime when people edit their deps.edn or deps.local.edn.
normally lsp inspects deps.edn or clj-kondo configs and then rescans everything if changes happened. otherwise you can do lsp-workspace-restart
manually (in lsp-mode, not sure about eglot, which is the other lsp package in emacs)
ok, that's great, that does open possibilities. I could alter the classpath command when it changes.
clojure-lsp does re-read its own config periodically, but I don't think there's any way to convince it to re-scan part of the project or its dependencies by changing any of the config, including the :classpath-cmd
. AFAIK, that requires a restart of the clojure-lsp server