From db2841aa49d956ea901ab08f254ed678dcbefd79 Mon Sep 17 00:00:00 2001 From: Snjezana Peco Date: Mon, 9 Mar 2026 16:24:55 +0100 Subject: [PATCH] Support Scala in Gradle projects --- README.md | 1 + package.json | 9 ++++++++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 00ec18351..6fbb12197 100644 --- a/README.md +++ b/README.md @@ -228,6 +228,7 @@ The following settings are supported: * `java.jdt.ls.androidSupport.enabled`: [Experimental] Specify whether to enable Android project importing. When set to `auto`, the Android support will be enabled in Visual Studio Code - Insiders. **Note:** Only works for Android Gradle Plugin `3.2.0` or higher. Defaults to `auto`. * `java.jdt.ls.kotlinSupport.enabled`: [Experimental] Specify whether to enable `org.jetbrains.kotlin.jvm` plugin in Gradle projects. Defaults to `true`. * `java.jdt.ls.groovySupport.enabled`: [Experimental] Specify whether to enable `groovy` plugin in Gradle projects. Defaults to `true`. +* `java.jdt.ls.scalaSupport.enabled`: [Experimental] Specify whether to enable `scala` plugin in Gradle projects. Defaults to `true`. * `java.completion.postfix.enabled`: Enable/disable postfix completion support. Defaults to `true`. * `java.completion.chain.enabled`: Enable/disable chain completion support. Defaults to `false`. * `java.completion.matchCase`: Specify whether to match case for code completion. Defaults to `firstLetter`. diff --git a/package.json b/package.json index 60ef98214..76d7f9430 100644 --- a/package.json +++ b/package.json @@ -413,6 +413,13 @@ "scope": "window", "order": 80 }, + "java.jdt.ls.scalaSupport.enabled": { + "type": "boolean", + "default": true, + "markdownDescription": "[Experimental] Specify whether to enable `scala` plugin in Gradle projects. Defaults to `true`.", + "scope": "window", + "order": 80 + }, "java.jdt.ls.groovySupport.enabled": { "type": "boolean", "default": true, @@ -2133,4 +2140,4 @@ }, "segmentWriteKey": "Y7Y5Xk8dKEhVZHTmAkFZkqgdN4d7c4lt", "segmentWriteKeyDebug": "BflPll7uuKOCm3y0g7JpfXLVBVFBivDE" -} +} \ No newline at end of file