Closed eval-exec closed 1 month ago
Hi @eval-exec, thanks for the report.
I use cider-doc quite often and haven't experienced that.
Are you aware that the ns form where the string
alias is declared has to be evaluated (in some or other way) for CIDER to be able to see it?
i.e. since the tool is based on runtime analysis, the alias must exist in the runtime first.
Hi @eval-exec, thanks for the report.
I use cider-doc quite often and haven't experienced that.
Are you aware that the ns form where the
string
alias is declared has to be evaluated (in some or other way) for CIDER to be able to see it?i.e. since the tool is based on runtime analysis, the alias must exist in the runtime first.
Thank you, I guess there something wrong in my local env. I think it's not important.
Is there some ways to help to debug why cider-doc not aware the join
is from clojure.string/join
?
Wow, I just try cider-doc
on join
, it works as expected, I don't know why. :smile:
I guess we can close this issuel
I am experiencing an issue with
cider-doc
in CIDER. Specifically, when I place the cursor onstring/join
in my Clojure code and invoke thecider-doc
command, it seems cider-doc not recgnize thejoin
is fromclojure.string/join
.Expected behavior
When I hit
K
, cider-doc should showclojure.string/join
's docActual behavior
cider-doc give me a prompt, I have to type full
clojure.string/join
to cider-doc's promptSteps to reproduce the problem
git clone https://github.com/functional-koans/clojure-koans.git
02_strings.clj
file, move cursor to line 28:(= "123" (string/join '(1 2 3)))
join
word. hit K (cider-doc)Environment & Version information
CIDER version information
Include here the version string displayed when CIDER's REPL is launched. Here's an example:
Lein / Clojure CLI version
Leiningen 2.10.0 on Java 21.0.3 OpenJDK 64-Bit Server VM
Emacs version
GNU Emacs 31.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.42, cairo version 1.18.0) of 2024-08-16
Operating system
JDK distribution
openjdk-21.0.3