This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-12-22
Channels
- # adventofcode (26)
- # aleph (34)
- # announcements (10)
- # babashka (71)
- # beginners (80)
- # biff (7)
- # calva (1)
- # cider (4)
- # cljdoc (12)
- # clojure (8)
- # clojure-belgium (1)
- # clojure-europe (11)
- # clojure-nl (3)
- # clojure-norway (18)
- # clojure-sg (3)
- # clojure-sweden (2)
- # clojurescript (18)
- # clojutre (4)
- # conjure (1)
- # core-logic (4)
- # datahike (1)
- # datascript (3)
- # emacs (27)
- # exercism (1)
- # gratitude (12)
- # introduce-yourself (4)
- # joyride (1)
- # lsp (46)
- # malli (3)
- # membrane (2)
- # nbb (1)
- # off-topic (3)
- # other-languages (7)
- # pedestal (4)
- # portal (3)
- # practicalli (1)
- # rdf (33)
- # re-frame (11)
- # releases (1)
- # ring (1)
- # scittle (34)
- # shadow-cljs (10)
- # squint (12)
- # tools-deps (89)
- # tree-sitter (2)
- # xtdb (14)
What's needed for https://github.com/clojure-lsp/clojure-lsp/issues/634 now? Seems like clj-kondo supports edn files now
@U04V15CAJ does kondo report edn analysis now?
that's nice, didn't know about it do we need any additional flag to kondo report edn analysis?
I'm afraid kondo report findings (the diagnostics) but not include on analysis, if so we would need to change that on kondo first
What's needed to add edn support to clojure-lsp, eric's asking if kondo reports edn analysis now
Mainly to have imenu pick up the outlines & references, basically what the linked issue is asking for
yep, we would need keyword analysis for edn files which I think kondo doesn't report yet as borkdude mentioned
@U043RSZ25HQ if you could open a issue on clj-kondo about that, would help a lot
I think this is the related issue: https://github.com/clj-kondo/clj-kondo/issues/1902
hum, it should overlap a little indeed, I think supporting edn analysis ignoring quoted for now would be already a tremendous improvement though
what kind of keywords would be useful for analysis? please come up with some useful examples in the clj-kondo issue
for clojure-lsp the keyword name, location and filename are already enough for find-references work
I mean, I can't remember when I ever wanted to navigate keywords in deps.edn
so please help my imagination - also describing in this issue will help collect upvotes
At Nubank it's pretty common to have edn files at resources folder for configurations and being able to find the references of those keywords in the code and vice versa would be pretty good.
And yeah at juxt we do something similar, there's also https://github.com/juxt/site that has the whole openapi spec as an edn file
Can you make the examples self-contained? I peeked a little bit and several things you mention there aren't about keywords at all?
I'll skim through kondo's docs and try and add some expected kondo output 🙂 Think there might be some misunderstanding on my end
I mean, it would be nice if the person reading the issue wouldn't have to visit external links, but could just read the issue itself
and as I said, the other issue will likely take care of this already. A keyword is something starting with a colon: :foo
. A symbol is something like foo/bar
. Your issue talks about keywords.
Is there a configuration for the lsp-describe-at-point to show the docs in the doc pop-up. At the moment it opens a buffer and shows the raw markdown, so not as nice as the doc popup (although I find the doc popup too distracting to have on all the time)
Hmm, it seems something is quite broken with my LSP setup for Emacs, it doesnt even show docs for defn