From d697c9d0c6790466dc0f6a63e180a1ddbca392ed Mon Sep 17 00:00:00 2001 From: fwcd Date: Mon, 29 Jul 2024 01:20:46 +0200 Subject: [PATCH 1/2] Add codegen configuration option --- package.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/package.json b/package.json index 2011713..3762744 100644 --- a/package.json +++ b/package.json @@ -241,6 +241,11 @@ "description": "The port to which the client will attempt to connect to. A random port is used if zero. Only used if the transport layer is TCP.", "default": 0 }, + "kotlin.languageServer.codegen.enabled": { + "type": "boolean", + "description": "Whether to enable code generation to a temporary build output directory for Java interoperability (via the non-standard kotlin/buildOutputLocation LSP method). Experimental.", + "default": false + }, "kotlin.languageServer.debugAttach.enabled": { "type": "boolean", "description": "[DEBUG] Whether the language server should listen for debuggers, i.e. be debuggable while running in VSCode. This is ONLY useful if you need to debug the language server ITSELF.", From fd917685ce2c92ff556e42dde11183d727104695 Mon Sep 17 00:00:00 2001 From: fwcd Date: Mon, 29 Jul 2024 01:44:54 +0200 Subject: [PATCH 2/2] Rename config option to `kotlin.codegen.enabled` For consistency with the other options --- package.json | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 3762744..2510a64 100644 --- a/package.json +++ b/package.json @@ -241,11 +241,6 @@ "description": "The port to which the client will attempt to connect to. A random port is used if zero. Only used if the transport layer is TCP.", "default": 0 }, - "kotlin.languageServer.codegen.enabled": { - "type": "boolean", - "description": "Whether to enable code generation to a temporary build output directory for Java interoperability (via the non-standard kotlin/buildOutputLocation LSP method). Experimental.", - "default": false - }, "kotlin.languageServer.debugAttach.enabled": { "type": "boolean", "description": "[DEBUG] Whether the language server should listen for debuggers, i.e. be debuggable while running in VSCode. This is ONLY useful if you need to debug the language server ITSELF.", @@ -284,6 +279,11 @@ "description": "Traces the communication between VSCode and the Kotlin language server.", "scope": "window" }, + "kotlin.codegen.enabled": { + "type": "boolean", + "description": "Whether to enable code generation to a temporary build output directory for Java interoperability (via the non-standard kotlin/buildOutputLocation LSP method). Experimental.", + "default": false + }, "kotlin.compiler.jvm.target": { "type": "string", "default": "default",