From 2a1da992fd9732b173bb0ec50f497c60077c49f3 Mon Sep 17 00:00:00 2001 From: Fendor Date: Tue, 18 Oct 2022 13:39:47 +0200 Subject: [PATCH] Change scope of serverExecutablePath to machine-overridable Removes deprecation warning. In accordance with https://github.com/haskell/vscode-haskell/issues/529#issuecomment-1177414902 don't deprecate the serverExecutablePath's scope, and set it to the standard 'machine-overridable' --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 7af14c5e..9915432c 100644 --- a/package.json +++ b/package.json @@ -141,10 +141,10 @@ "markdownDescription": "An optional path where downloaded metadata will be stored. Check the default value [here](https://github.com/haskell/vscode-haskell#downloaded-binaries)" }, "haskell.serverExecutablePath": { - "scope": "resource", + "scope": "machine-overridable", "type": "string", "default": "", - "markdownDescription": "Manually set a language server executable. Can be something on the $PATH or the full path to the executable itself. Works with `~,` `${HOME}` and `${workspaceFolder}`. **Deprecated scope**: This option will be set to `machine` scope in a future release, so it can be changed only globally, not per workspace." + "markdownDescription": "Manually set a language server executable. Can be something on the $PATH or the full path to the executable itself. Works with `~,` `${HOME}` and `${workspaceFolder}`." }, "haskell.serverExtraArgs": { "scope": "resource",