Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/powershell/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
无法将Supreme Text 3中的Powershell intellisense与LSP一起使用_Powershell_Sublimetext3_Intellisense - Fatal编程技术网

无法将Supreme Text 3中的Powershell intellisense与LSP一起使用

无法将Supreme Text 3中的Powershell intellisense与LSP一起使用,powershell,sublimetext3,intellisense,Powershell,Sublimetext3,Intellisense,下面是我的LSP.sublime设置 // Settings in here override those in "LSP/LSP.sublime-settings", { "powershell-ls": { "command": [ "powershell.exe", "-NoLogo", "-NoProfile", "-NonIntera

下面是我的
LSP.sublime设置

// 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没有Powershellsyntax语言服务器的内置配置

在Windows 10 x64上使用Powershell 5.1,以及生成的帮助文件。 升华编辑器的Powershell配置模板链接:

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

{
    "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"
          ]
        }
    }
}