feat(maven): setting to download dependency sources on import (#4182)

Settings › Build Tools › Maven › Automatically download sources maps to jdtls java.maven.downloadSources (previously always on in languages/java.toml). Off by default, as in IDEA's Maven › Importing: library classes open decompiled and the Download Sources banner fetches one library's sources on demand.

Closes #4097
This commit is contained in:
l0ng-ai
2026-11-18 16:34:44 +08:00
committed by GitHub
parent c43a6169be
commit aebd26bd7d
10 changed files with 58 additions and 1 deletions
+1 -1
View File
@@ -47,7 +47,7 @@ moveRefactoringSupport = true
[language-servers.initialization-options.settings.java]
autobuild = { enabled = true }
contentProvider = { preferred = "fernflowerContentProvider" }
maven = { downloadSources = true, updateSnapshots = false }
maven = { downloadSources = false, updateSnapshots = false }
eclipse = { downloadSources = true }
references = { includeDecompiledSources = true }
# The editor's usage lenses count usages; the server's own lenses would search every