From 20a1d74ad166212cd7cdb264af164b10192990de Mon Sep 17 00:00:00 2001 From: Chet Husk Date: Thu, 4 Aug 2022 14:33:04 -0500 Subject: [PATCH] Update F# guidance The current docs install FSAC as a global tool, but invoke it as a local tool. Invoking it as a global tool means executing the globally-installed shim (which is installed to a global path by default). --- docs/src/language_servers.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/docs/src/language_servers.md b/docs/src/language_servers.md index 4be37b539..f29c33554 100644 --- a/docs/src/language_servers.md +++ b/docs/src/language_servers.md @@ -129,7 +129,7 @@ Follow installation instructions on [LSP-elm](https://github.com/sublimelsp/LSP- "clients": { "fsautocomplete": { "enabled": true, - "command": ["dotnet", "fsautocomplete", "--background-service-enabled"], + "command": ["fsautocomplete", "--background-service-enabled"], "selector": "source.fsharp", "initializationOptions": { "AutomaticWorkspaceInit": true @@ -139,6 +139,9 @@ Follow installation instructions on [LSP-elm](https://github.com/sublimelsp/LSP- } ``` +!!! info "A note about .NET Tools and $PATH" + If the `fsautocomplete` executable isn't on your $PATH after installing it globally, ensure the .NET global tools location (by default `$HOME/.dotnet/tools`) is on your $PATH. + ## Fortran 1. Install the [ Fortran](https://packagecontrol.io/packages/Fortran) package from Package Control for syntax highlighting.