Adding Local Clojure and Java sources

Not currently working ?

This approach does not seem to work currently. Issue #2819 has been raised.

Navigate to Java source files using local copies of the Java Source code. Download and extracting the Clojure and Java sources to your computer.

Java sources are available as Debian/Ubuntu packages

sudo apt install openjdk-11-source

Java source code is part of the JDK installation and can be found at:

 /Library/Java/JavaVirtualMachines/{jdk-version}/Contents/Home/src.zip.

Java source code is part of the JDK installation and can be found at:

C:\Program Files\Java\{jdk-version}\src.zip

Download the latest Clojure sources from Maven

Extract the Java src.zip file and clojure-x-x-x-sources.jar file

Add cider-jdk-src-paths configuration to dotspacemacs/user-config in the .spacemacs file. Change the paths if you extracted the files to a different location.

  (setq cider-jdk-src-paths '("~/projects/java/clojure-1.10.1-sources"
                              "~/projects/java/openjdk-11/src"))

results matching ""

    No results matching ""