This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-12-04
Channels
- # adventofcode (129)
- # announcements (1)
- # babashka (7)
- # beginners (30)
- # calva (42)
- # cider (2)
- # clj-commons (2)
- # clj-on-windows (27)
- # clj-yaml (4)
- # clojure (69)
- # clojure-belgium (4)
- # clojure-europe (5)
- # clojure-norway (4)
- # clr (1)
- # css (3)
- # datomic (19)
- # dev-tooling (2)
- # events (1)
- # humbleui (1)
- # hyperfiddle (17)
- # introduce-yourself (4)
- # java (1)
- # joyride (3)
- # kaocha (1)
- # lsp (4)
- # malli (10)
- # mount (1)
- # nbb (34)
- # off-topic (37)
- # pathom (1)
- # ring (4)
- # tools-deps (12)
I'm a bit confused on how to use clojure-lsp -- I have a feeling it might not be working correctly in my emacs. I have a deps.edn project, and a namespace that has a lint error: a function is being called that isn't defined in the current namespace. I have this function defined in a different namespace in the project. Should clojure-lsp know where this function is defined? Should it be able to auto-require from that namespace? Do I need to be jacked in to a cider session in order for that to work?
Using something like lsp-find-references
does not show any references from the namespace where the function is defined. Something like lsp-ido-workspace-symbol
returns a hit for the definition.
I found it. It was inside the "lsp execute code action" thing. I did not realize that lsp actions were buried in chords using the super key. Took a while to track that down, and figure out how to rebind it to soemthing else that isn't the super key