From 9f8ecb173528db903d2605615dc054740ae348fc Mon Sep 17 00:00:00 2001 From: Danila Danko <48378098+br4ch1st0chr0n3@users.noreply.github.com> Date: Wed, 27 Apr 2022 12:00:54 +0300 Subject: [PATCH] specify where and how to set executable path --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d2e0d980..f5e4c977 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ For a general picture about the server configuration, including the project setu ### Path to server executable -If your server is manually installed and not on your path, you can also manually set the path to the executable. +If your server is manually installed and not on your path, you can also [manually](https://code.visualstudio.com/docs/getstarted/settings#_settings-editor) set the path to the executable (not to the `...-wrapper`!) in [settings.json](https://code.visualstudio.com/docs/getstarted/settings#_settingsjson). ```json "haskell.serverExecutablePath": "~/.local/bin/haskell-language-server" @@ -61,6 +61,7 @@ There are a few placeholders which will be expanded: - `~`, `${HOME}` and `${home}` will be expanded into your users' home folder. - `${workspaceFolder}` and `${workspaceRoot}` will expand into your current project root. + #### Security warning The option has `resource` scope so it can be changed per workspace.