This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2024-03-15
Channels
- # announcements (1)
- # architecture (8)
- # babashka (7)
- # beginners (5)
- # biff (8)
- # calva (24)
- # cider (9)
- # clerk (14)
- # clj-kondo (7)
- # clojars (14)
- # clojure (49)
- # clojure-europe (11)
- # clojure-nl (1)
- # clojure-norway (90)
- # clojure-uk (3)
- # clojurescript (5)
- # core-typed (70)
- # cursive (35)
- # data-science (4)
- # datalevin (6)
- # datomic (2)
- # emacs (3)
- # fulcro (1)
- # holy-lambda (1)
- # hyperfiddle (5)
- # lsp (26)
- # malli (28)
- # off-topic (9)
- # re-frame (21)
- # releases (1)
- # shadow-cljs (7)
- # squint (6)
- # testing (14)
Does IntelliJ Clojure LSP use one Clojure LSP process for all projects? I noticed that one window / project still shows that it is connecting to Clojure LSP, while another one is still "analyzing external classpath" -- I wonder whether these two things are related.
That's my highest priority issue for this plugin ATM, the window changes mess up the plugin, but after fixed, it should be one clojure-lsp process per window/project
I did not find a GH issue for this, so I created https://github.com/clojure-lsp/clojure-lsp-intellij/issues/37
Do you also embed ClojureDocs, or where do the "examples" come from when I press ^Q?
Yes, clojure-lsp request clojuredocs and cache all content for subsequent hover information
Thanks! That's great! Visual enhancement request: https://github.com/clojure-lsp/clojure-lsp-intellij/issues/38
Thanks for the issue, I tried that when I implemented that feature on the plugin but could not find a way to achieve that via Markdown (That's what clojure-lsp returns), all other editors support that though 😔
Can you return GH markdown from LSP?
"""clojure
(def sym 1)
"""
(`"` representing backticks here, which I cannot write in Code snippets)Then you could find that in the IntelliJ plugin and render it with highlighting.
(Or register with IntelliJ as a highlighter for Markdown code snippets in the clojure
language, or however IntelliJ does these things. I think they have a Markdown plugin, not sure whether that is extensible...)
actually, using backtick: https://github.com/clojure-lsp/clojure-lsp/blob/98d36118a090c6c2199a1e999a178cb168b17fad/lib/src/clojure_lsp/feature/hover.clj#L16
but when I tried rendering that in Intellij, it only worked when using HTMLBuilder, which doesn't have syntax highlight indeed
it should not be hard, there must be some class for that or so, the intellij docs/api is just hard to find those things 😅
Yeah, Colin Fleming was also regularly struggling with their API and, even worse, API changes or, even worse, semantic changes without API changes...
yeah, I feel that... There were cases was faster to ask to chat gpt instead of spending 2hours reading the source code 😂
I guess that's the new way anyway It seems to be what a lot of ppl do and they are much faster. Just need to fact check the code...
yeah, I was surprised though after it saved me a couple of times from spending time on checking the code
Hi. With Emacs integration I can use lsp-rename
to rename a namespace alias. Is it possible to use the API to rename a namespace alias?