diff --git a/package.json b/package.json index 2383db4..fdad157 100644 --- a/package.json +++ b/package.json @@ -105,6 +105,27 @@ "description": "The JVM arguments if needed by your project (usually -Dfoo=bar).", "default": "" }, + "cwd": { + "type": "string", + "description": "The current working directory. Default to the project root.", + "default": "${workspaceFolder}" + }, + "env": { + "type": "object", + "additionalProperties": { + "type": [ + "string", + "null" + ] + }, + "description": "Environment variables in key/value format. (usually { \"FOO\": \"BAR\"})", + "default": {} + }, + "envFile": { + "type": "string", + "description": "Environment variables file path. (usually .env)", + "default": "${workspaceFolder}/.env" + }, "enableJsonLogging": { "type": "boolean", "description": "Enables logging of debug server JSON messages into a file defined by 'jsonLogFile'.", diff --git a/src/extension.ts b/src/extension.ts index 6110f3a..382e08b 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -58,7 +58,10 @@ export async function activate(context: vscode.ExtensionContext): Promise ServerSetupParams = status => ({ context, status,