This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-15
Channels
- # announcements (8)
- # architecture (9)
- # autochrome-github (1)
- # babashka (48)
- # beginners (55)
- # calva (36)
- # cider (16)
- # clj-commons (1)
- # clj-kondo (38)
- # cljs-dev (44)
- # cljsrn (1)
- # clojure (164)
- # clojure-europe (35)
- # clojure-nl (2)
- # clojure-norway (10)
- # clojure-uk (23)
- # clojurescript (50)
- # conjure (24)
- # core-async (1)
- # cryogen (2)
- # cursive (38)
- # datalevin (11)
- # datascript (2)
- # datomic (13)
- # duct (1)
- # emacs (16)
- # events (12)
- # exercism (3)
- # figwheel-main (7)
- # fulcro (26)
- # honeysql (5)
- # integrant (1)
- # jobs (3)
- # kaocha (6)
- # lsp (72)
- # malli (22)
- # nextjournal (35)
- # nrepl (1)
- # off-topic (34)
- # pathom (5)
- # polylith (8)
- # portal (40)
- # re-frame (14)
- # reagent (42)
- # reitit (1)
- # releases (1)
- # remote-jobs (1)
- # reveal (9)
- # sci (2)
- # shadow-cljs (13)
- # sql (3)
- # tools-deps (33)
- # vim (25)
clojure-lsp even added clojuredocs examples to the completion results recently, so the results are even better than the coc-conjure ones were 😍
and it works with your own docstrings too, for if no clojuredocs is found, then your own docstrings works. Tis pretty awesome-o!
Oh nice, I didn't realize we can drop coc-conjure too. I've been loving the new clojuredocs examples in the pop up too. Are you folks able to get that same functionality for cljs? What about java/js interop? I'm not complaining, I realize it's probably a huge ask for the lsp/conjure maintainers, just dreaming.
Oh nice. I think the Intellij + Cursive folks get such things but I just can't switch over.
for the java issue: the biggest issue is not the actual work, but what should happen. I have no idea.
clojure-lsp works very well for cljs, too. I get good completion results and linting via clj-kondo
Ah, same for me. I was meaning the new clojuredocs examples for that. I don't think there is a cljs equivalent to draw off of anyways and the subtle differences between clj and cljs means you might not want them to use the clojuredocs examples.
> but what should happen I mean, like a real user scenario. User wants to navigate to class or method X. Source code is not on the classpath usually. Then what should happen in neovim? It's one big question mark and so far nobody has made it more concrete. If it's not more concrete, nothing will happen.
good point. What exactly happens in Intellij/Cursive? Cider/Emacs? Do they have more capability?
I think IntelliJ downloads the sources and/or javadocs separately and then link you to them
I can't find it now but I just saw a tweet or something from someone saying they made the switch to Intellij because the java/js interop help was much better. I didn't mean to derail the channel/thread, just something on the top of my mind when this convo came up.
If you're writing a lot of Java that might make sense. If you're doing JavaScript, VSCode is also pretty decent. You just don't get the integration between CLJS + JS navigation-wise in VSCode. I'm kind of primitive: I just look up the freaking javadocs in the browser.
It's interesting. With Java, I think there is often a lot more that you need to read in the docs, because there is a lot of ceremony, and you need to learn all about how the various classes work, and look at long code examples in the javadocs, etc. For that reason, I think it's more comfortable to read javadocs in the browser.