Skip to content

Commit 1d5a6d1

Browse files
config: disable Java analysis
Java analysis consumes significant memory resources, even when only the Java SDK is analysed. Java analysis populates autocomplete with a huge number of entries from the Java language API, adding complexity when not using Java interop. Set `:java nil` to disable LSP analysis of Java SDK and any other Java libraries on the class path
1 parent 59b1bee commit 1d5a6d1

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

config.edn

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@
5656
;; :home-path nil ;; jdk-source-uri takes precedence
5757
;; :download-jdk-source? false
5858
;; :decompile-jar-as-project? true}
59-
:java
60-
{:jdk-source-uri "file:///usr/lib/jvm/openjdk-17/lib/src.zip"}
59+
;; :java
60+
;; {:jdk-source-uri "file:///usr/lib/jvm/openjdk-17/lib/src.zip"}
61+
:java nil
6162

6263
;; End of Project analysis
6364
;; ---------------------------------------------------------

0 commit comments

Comments
 (0)