diff --git a/README.md b/README.md index 621004d..91c81e4 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,8 @@ This extension supports a number of commands for interacting with supported serv * `rsp-ui.rsp.java.home`: Specifies the path to a full JDK (version 11 or newer) which will be used to launch the Runtime Server Protocol (RSP) Server, as well as be the default java to launch any Java-based runtimes that the RSP will control.
On Windows, backslashes must be escaped, i.e.
`"rsp-ui.rsp.java.home":"C:\\Program Files\\Java\\jdk-11.0.13"` * `rsp-ui.enableStartServerOnActivation`: Specifies which RSP Server have to be automatically started during activation. If option is disabled, user will have to manually start the RSP Server through command palette or context menu * `rsp-ui.enableAsyncPublish`: enable/disable async publishing + * `rsp-ui.enableCustomServerLocation`: when enabled, server definitions are stored in the path specified by `rsp-ui.customServerLocation` instead of the RSP data directory + * `rsp-ui.customServerLocation`: path where server definitions are stored when `rsp-ui.enableCustomServerLocation` is enabled. If relative, resolved against the first workspace folder. If absolute, used as-is. Default: `.rsp/servers` ## Server Parameters To change Server Parameters, right-click on the server you want to edit and select `Edit Server` diff --git a/package.json b/package.json index 4f2bbea..5b2db00 100644 --- a/package.json +++ b/package.json @@ -381,6 +381,16 @@ "default": false, "description": "Enable asynchronous publishing." }, + "rsp-ui.enableCustomServerLocation": { + "type": "boolean", + "default": false, + "description": "Override the default server definitions storage location. When enabled, server definitions will be stored in the path specified by rsp-ui.customServerLocation instead of the RSP data directory." + }, + "rsp-ui.customServerLocation": { + "type": "string", + "default": ".rsp/servers", + "description": "Path where server definitions are stored when rsp-ui.enableCustomServerLocation is enabled. If relative, resolved against the first workspace folder. If absolute, used as-is." + }, "rsp-ui.enableStartServerOnActivation": { "type": "array", "items": {