We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 311a074 commit e9b9030Copy full SHA for e9b9030
lsp-java.el
@@ -888,7 +888,13 @@ PROJECT-URI uri of the item."
888
(list :settings (lsp-java--settings)
889
:extendedClientCapabilities (list :progressReportProvider t
890
:classFileContentsSupport t)
891
- :bundles (lsp-java--bundles)))
+ :bundles (lsp-java--bundles)
892
+ :workspaceFolders (->> (lsp-session)
893
+ lsp-session-server-id->folders
894
+ (gethash 'jdtls)
895
+ (-uniq)
896
+ (-map #'lsp--path-to-uri)
897
+ (apply #'vector))))
898
:library-folders-fn (lambda (_workspace) (list lsp-java-workspace-cache-dir))
899
:before-file-open-fn (lambda (workspace)
900
(let ((metadata-file-name (lsp-java--get-metadata-location buffer-file-name)))
0 commit comments