无法在带有 LSP 的 Sublime Text 3 中使用 Powershell intellisense

Cannot use Powershell intellisense in Sublime Text 3 with LSP

我的LSP.sublime-settings低于

// Settings in here override those in "LSP/LSP.sublime-settings",

{
        "powershell-ls":
    {
        "command":
        [
            "powershell.exe",
            "-NoLogo",
            "-NoProfile",
            "-NonInteractive",
            "-ExecutionPolicy",
            "Bypass",
            "-Command",
            "C:\Users\georg\Downloads\PowerShellEditorServices\PowerShellEditorServices\Start-EditorServices.ps1",
            "-LogPath",
            "C:\Users\georg\Downloads\PowerShellEditorServices\pses-sublime.log",
            "-LogLevel",
            "Normal",
            "-SessionDetailsPath",
            "C:\Users\georg\Downloads\PowerShellEditorServices\session.json",
            "-FeatureFlags",
            "@()",
            "-HostName",
            "'Sublime Text'",
            "-HostProfileId",
            "subl",
            "-HostVersion",
            "1.0.0",
            "-AdditionalModules",
            "@()",
            "-BundledModulesPath",
            "C:\Users\georg\Downloads\PowerShellEditorServices",
            "-Stdio"
        ],
        "enabled": true,
        "languageId": "powershell",
        "scopes":
        [
            "source.powershell"
        ],
        "syntaxes":
        [
            "Packages/PowerShell/Support/PowershellSyntax.tmLanguage"
        ]
    }

}

PowerShellEditorServices 的根位置: C:\Users\georg\Downloads\

当我单击 LSP: Setup language server 时,下面的消息显示 LSP has no built-in configuration for a Powershellsyntax language server

在 Windows 10 x64 上使用 Powershell 5.1,并生成帮助文件。 Link 用于 Sublime 编辑器的 Powershell 配置模板: https://github.com/tomv564/LSP/blob/master/docs/index.md

需要在 clients 标题下添加任何语言,如下所示:

{
    "auto_show_diagnostics_panel_level": 2,
    "clients":
    {
        "omnisharp": 
        {
        "command":
          [
            "/home/tb/prebuilt/omnisharp/OmniSharp.exe", // or eg. /usr/local/opt/omnisharp/run
            "-lsp"
          ],
          "enabled": true,
          "languageId": "csharp",
          "syntaxes": ["Packages/C#/C#.sublime-syntax"],
          "scopes":
          [
            "source.cs"
          ]
        }
    }
}