Skip to content

Commit d72c1cf

Browse files
committed
Support Kotlin,Groovy in Gradle projects
1 parent fbd4da7 commit d72c1cf

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,8 @@ The following settings are supported:
222222
* `java.codeAction.sortMembers.avoidVolatileChanges`: Reordering of fields, enum constants, and initializers can result in semantic and runtime changes due to different initialization and persistence order. This setting prevents this from occurring. Defaults to `true`.
223223
* `java.jdt.ls.protobufSupport.enabled`: Specify whether to automatically add Protobuf output source directories to the classpath. **Note:** Only works for Gradle `com.google.protobuf` plugin `0.8.4` or higher. Defaults to `true`.
224224
* `java.jdt.ls.aspectjSupport.enabled`: Specify whether to enable `io.freefair.aspectj` plugin in Gradle projects. Defaults to `false`.
225+
* `java.jdt.ls.kotlinSupport.enabled`: Specify whether to enable `org.jetbrains.kotlin.jvm` plugin in Gradle projects. Defaults to `false`.
226+
* `java.jdt.ls.groovySupport.enabled`: Specify whether to enable `groovy` plugin in Gradle projects. Defaults to `false`.
225227
* `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`.
226228
* `java.completion.postfix.enabled`: Enable/disable postfix completion support. Defaults to `true`.
227229
* `java.completion.chain.enabled`: Enable/disable chain completion support. Defaults to `false`.

package.json

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,20 @@
406406
"scope": "window",
407407
"order": 80
408408
},
409+
"java.jdt.ls.kotlinSupport.enabled": {
410+
"type": "boolean",
411+
"default": false,
412+
"markdownDescription": "Specify whether to enable `org.jetbrains.kotlin.jvm` plugin in Gradle projects. Defaults to `false`.",
413+
"scope": "window",
414+
"order": 80
415+
},
416+
"java.jdt.ls.groovySupport.enabled": {
417+
"type": "boolean",
418+
"default": false,
419+
"markdownDescription": "Specify whether to enable `groovy` plugin in Gradle projects. Defaults to `false`.",
420+
"scope": "window",
421+
"order": 80
422+
},
409423
"java.jdt.ls.androidSupport.enabled": {
410424
"type": "string",
411425
"enum": [

0 commit comments

Comments
 (0)