This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-01-07
Channels
- # announcements (2)
- # beginners (30)
- # calva (7)
- # cherry (15)
- # clerk (21)
- # clojure (1)
- # clojure-losangeles (12)
- # clojure-norway (1)
- # clojure-spec (3)
- # clojurescript (31)
- # conjure (2)
- # cursive (44)
- # datomic (13)
- # emacs (13)
- # honeysql (15)
- # hyperfiddle (7)
- # malli (2)
- # off-topic (17)
- # overtone (6)
- # reitit (7)
- # ring (58)
- # shadow-cljs (12)
- # squint (14)
- # tools-deps (14)
- # web-security (1)
- # xtdb (29)
How does one have the namespace doc string show upon hover? (The file is saved; I've restarted VSCode and Shadow CLJS to cover the "Have you tried turning it off and on again?" case.)
For a lot of this sort of stuff, you need a connected REPL.
This should work without a connected repl, I think. Could be a classpath issue? I’ll try myself when I’m at a keyboard.
It works without a connected repl. (You’ll have to take my word for that the repl isn’t connected here. 😃 ) I also tried with the repl connected to see if that brakes it, but it doesn’t. Is clojure-lsp started, @U03CPPKDXBL?
Good to know. I thought docstrings required a REPL -- my bad!
Thanks for the responses! I'm on the latest version of Calva, using VSCode in Windows connected to Ubuntu via Windows Subsystem for Linux (WSL2), with clojure-lsp started and my editor connected to a REPL. Yet it didn't show the doc string. Hadn't restarted the computer, though. Just did and the doc strings show up after the fact. Not sure what made the difference. :thinking_face: