This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-08-11
Channels
- # aws (2)
- # babashka (11)
- # beginners (107)
- # calva (6)
- # cljsrn (18)
- # clojure (180)
- # clojure-australia (6)
- # clojure-europe (54)
- # clojure-losangeles (9)
- # clojure-nl (4)
- # clojure-uk (13)
- # clojureladies (1)
- # clojurescript (57)
- # clojureverse-ops (1)
- # consultantsdirectory (1)
- # cursive (48)
- # datomic (11)
- # defnpodcast (3)
- # degree9 (1)
- # deps-new (5)
- # depstar (21)
- # docker (2)
- # fulcro (15)
- # helix (32)
- # kaocha (1)
- # lsp (21)
- # malli (15)
- # meander (15)
- # news-and-articles (2)
- # nextjournal (1)
- # off-topic (42)
- # pathom (3)
- # podcasts-discuss (1)
- # polylith (73)
- # protojure (1)
- # re-frame (43)
- # reagent (1)
- # releases (1)
- # restql (1)
- # schema (1)
- # sci (1)
- # shadow-cljs (23)
- # spacemacs (7)
- # sql (5)
- # tools-deps (42)
- # vim (15)
- # xtdb (3)
is it possible to see (at least some rows) of the docstring of a var in the modeline with clojure-lsp & emacs? This (https://emacs-lsp.github.io/lsp-mode/tutorials/how-to-turn-off/) gives advice on how to turn it off (part 13), but describe-variable
says lsp-signature-render-documentation
is already t
.
ATM we only support showing the first or second line which bring the function arity
Ah, ok
If I'm seeing occasional "hangs" in VS Code/Calva that I suspect are coming from LSP, is there somewhere I can look in a log file or a setting to making logging more verbose to help track down a repro case? I probably get one or sometimes two such "hangs" a day where the Clojure features stop working for a few seconds and then "catch up". Sometimes it actually locks VS Code for a second or two.
Thanks! I set it to messages and if that doesn't help, I'll set it to verbose.
(we have 115k lines of code in 700 files)
Hi, is there a way to do a "add missing require" programmatically, like the api namespace allows for some other features? Being hacky is fine :)
Hi! ATM there is no public API way, but I intend to add it soon, meanwhile I don't think there is an easy way to call it :/
Please open an issue with the expected API usage following the other features, that would help a lot
Great thanks, I'll give it a bit of thought and open an issue soon. Loving the exposed api btw. It's really awesome just having a separate repl open that i can run these little tools in while I'm developing stuff, without any editor integration
I want to add find-definition/references and especially the most used refactors to the API
On the subject of "adding things", when I create a new .edn
file, LSP adds an ns
directive to the top of it -- it should only do that for .clj
files (and .cljc
/`.cljs`) right?
Yeah, it probably only happen for edn files, it's easy to fix though, feel free to open an issue and I can take a look soon :)
https://github.com/clojure-lsp/clojure-lsp/issues/515 - LMK if you need more deets.