ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

LSP-Power​Shell​Editor​Services

by sublimelsp ST4

Convenience plugin to install and upgrade the PowerShellEditorServices language server

Details

Installs

  • Total 3K
  • Win 3K
  • Mac 338
  • Linux 350
Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23
Windows 1 3 2 2 1 1 7 3 4 5 3 3 2 1 0 1 4 0 5 4 4 1 6 3 2 0 3 0 1 2 2 5 3 4 2 2 2 2 3 2 3 1 3 2 2 1
Mac 0 1 1 2 2 0 1 1 0 0 0 0 1 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 1
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0
02468Jun 7Jun 4Jun 1May 29May 26May 23May 20May 17May 14May 11May 8May 5May 2Apr 29Apr 26Apr 23Jun 7 Linux: 0 Mac: 0 Windows: 1Jun 6 Linux: 0 Mac: 1 Windows: 3Jun 5 Linux: 0 Mac: 1 Windows: 2Jun 4 Linux: 0 Mac: 2 Windows: 2Jun 3 Linux: 0 Mac: 2 Windows: 1Jun 2 Linux: 0 Mac: 0 Windows: 1Jun 1 Linux: 0 Mac: 1 Windows: 7May 31 Linux: 0 Mac: 1 Windows: 3May 30 Linux: 0 Mac: 0 Windows: 4May 29 Linux: 0 Mac: 0 Windows: 5May 28 Linux: 0 Mac: 0 Windows: 3May 27 Linux: 0 Mac: 0 Windows: 3May 26 Linux: 0 Mac: 1 Windows: 2May 25 Linux: 0 Mac: 0 Windows: 1May 24 Linux: 0 Mac: 0 Windows: 0May 23 Linux: 0 Mac: 0 Windows: 1May 22 Linux: 1 Mac: 1 Windows: 4May 21 Linux: 0 Mac: 0 Windows: 0May 20 Linux: 2 Mac: 0 Windows: 5May 19 Linux: 0 Mac: 0 Windows: 4May 18 Linux: 0 Mac: 0 Windows: 4May 17 Linux: 0 Mac: 0 Windows: 1May 16 Linux: 0 Mac: 0 Windows: 6May 15 Linux: 0 Mac: 0 Windows: 3May 14 Linux: 1 Mac: 0 Windows: 2May 13 Linux: 0 Mac: 0 Windows: 0May 12 Linux: 0 Mac: 0 Windows: 3May 11 Linux: 0 Mac: 0 Windows: 0May 10 Linux: 0 Mac: 0 Windows: 1May 9 Linux: 0 Mac: 0 Windows: 2May 8 Linux: 0 Mac: 0 Windows: 2May 7 Linux: 1 Mac: 1 Windows: 5May 6 Linux: 0 Mac: 0 Windows: 3May 5 Linux: 0 Mac: 0 Windows: 4May 4 Linux: 0 Mac: 0 Windows: 2May 3 Linux: 0 Mac: 0 Windows: 2May 2 Linux: 0 Mac: 0 Windows: 2May 1 Linux: 0 Mac: 0 Windows: 2Apr 30 Linux: 1 Mac: 0 Windows: 3Apr 29 Linux: 0 Mac: 0 Windows: 2Apr 28 Linux: 0 Mac: 0 Windows: 3Apr 27 Linux: 0 Mac: 1 Windows: 1Apr 26 Linux: 0 Mac: 0 Windows: 3Apr 25 Linux: 0 Mac: 0 Windows: 2Apr 24 Linux: 0 Mac: 0 Windows: 2Apr 23 Linux: 0 Mac: 1 Windows: 1Jun 7 Linux: 0 Mac: 0 Windows: 1Jun 6 Linux: 0 Mac: 1 Windows: 3Jun 5 Linux: 0 Mac: 1 Windows: 2Jun 4 Linux: 0 Mac: 2 Windows: 2Jun 3 Linux: 0 Mac: 2 Windows: 1Jun 2 Linux: 0 Mac: 0 Windows: 1Jun 1 Linux: 0 Mac: 1 Windows: 7May 31 Linux: 0 Mac: 1 Windows: 3May 30 Linux: 0 Mac: 0 Windows: 4May 29 Linux: 0 Mac: 0 Windows: 5May 28 Linux: 0 Mac: 0 Windows: 3May 27 Linux: 0 Mac: 0 Windows: 3May 26 Linux: 0 Mac: 1 Windows: 2May 25 Linux: 0 Mac: 0 Windows: 1May 24 Linux: 0 Mac: 0 Windows: 0May 23 Linux: 0 Mac: 0 Windows: 1May 22 Linux: 1 Mac: 1 Windows: 4May 21 Linux: 0 Mac: 0 Windows: 0May 20 Linux: 2 Mac: 0 Windows: 5May 19 Linux: 0 Mac: 0 Windows: 4May 18 Linux: 0 Mac: 0 Windows: 4May 17 Linux: 0 Mac: 0 Windows: 1May 16 Linux: 0 Mac: 0 Windows: 6May 15 Linux: 0 Mac: 0 Windows: 3May 14 Linux: 1 Mac: 0 Windows: 2May 13 Linux: 0 Mac: 0 Windows: 0May 12 Linux: 0 Mac: 0 Windows: 3May 11 Linux: 0 Mac: 0 Windows: 0May 10 Linux: 0 Mac: 0 Windows: 1May 9 Linux: 0 Mac: 0 Windows: 2May 8 Linux: 0 Mac: 0 Windows: 2May 7 Linux: 1 Mac: 1 Windows: 5May 6 Linux: 0 Mac: 0 Windows: 3May 5 Linux: 0 Mac: 0 Windows: 4May 4 Linux: 0 Mac: 0 Windows: 2May 3 Linux: 0 Mac: 0 Windows: 2May 2 Linux: 0 Mac: 0 Windows: 2May 1 Linux: 0 Mac: 0 Windows: 2Apr 30 Linux: 1 Mac: 0 Windows: 3Apr 29 Linux: 0 Mac: 0 Windows: 2Apr 28 Linux: 0 Mac: 0 Windows: 3Apr 27 Linux: 0 Mac: 1 Windows: 1Apr 26 Linux: 0 Mac: 0 Windows: 3Apr 25 Linux: 0 Mac: 0 Windows: 2Apr 24 Linux: 0 Mac: 0 Windows: 2Apr 23 Linux: 0 Mac: 1 Windows: 1Jun 7 Linux: 0 Mac: 0 Windows: 1Jun 6 Linux: 0 Mac: 1 Windows: 3Jun 5 Linux: 0 Mac: 1 Windows: 2Jun 4 Linux: 0 Mac: 2 Windows: 2Jun 3 Linux: 0 Mac: 2 Windows: 1Jun 2 Linux: 0 Mac: 0 Windows: 1Jun 1 Linux: 0 Mac: 1 Windows: 7May 31 Linux: 0 Mac: 1 Windows: 3May 30 Linux: 0 Mac: 0 Windows: 4May 29 Linux: 0 Mac: 0 Windows: 5May 28 Linux: 0 Mac: 0 Windows: 3May 27 Linux: 0 Mac: 0 Windows: 3May 26 Linux: 0 Mac: 1 Windows: 2May 25 Linux: 0 Mac: 0 Windows: 1May 24 Linux: 0 Mac: 0 Windows: 0May 23 Linux: 0 Mac: 0 Windows: 1May 22 Linux: 1 Mac: 1 Windows: 4May 21 Linux: 0 Mac: 0 Windows: 0May 20 Linux: 2 Mac: 0 Windows: 5May 19 Linux: 0 Mac: 0 Windows: 4May 18 Linux: 0 Mac: 0 Windows: 4May 17 Linux: 0 Mac: 0 Windows: 1May 16 Linux: 0 Mac: 0 Windows: 6May 15 Linux: 0 Mac: 0 Windows: 3May 14 Linux: 1 Mac: 0 Windows: 2May 13 Linux: 0 Mac: 0 Windows: 0May 12 Linux: 0 Mac: 0 Windows: 3May 11 Linux: 0 Mac: 0 Windows: 0May 10 Linux: 0 Mac: 0 Windows: 1May 9 Linux: 0 Mac: 0 Windows: 2May 8 Linux: 0 Mac: 0 Windows: 2May 7 Linux: 1 Mac: 1 Windows: 5May 6 Linux: 0 Mac: 0 Windows: 3May 5 Linux: 0 Mac: 0 Windows: 4May 4 Linux: 0 Mac: 0 Windows: 2May 3 Linux: 0 Mac: 0 Windows: 2May 2 Linux: 0 Mac: 0 Windows: 2May 1 Linux: 0 Mac: 0 Windows: 2Apr 30 Linux: 1 Mac: 0 Windows: 3Apr 29 Linux: 0 Mac: 0 Windows: 2Apr 28 Linux: 0 Mac: 0 Windows: 3Apr 27 Linux: 0 Mac: 1 Windows: 1Apr 26 Linux: 0 Mac: 0 Windows: 3Apr 25 Linux: 0 Mac: 0 Windows: 2Apr 24 Linux: 0 Mac: 0 Windows: 2Apr 23 Linux: 0 Mac: 1 Windows: 1

Readme

Source
raw.​githubusercontent.​com

LSP-PowerShellEditorServices

Convenience plugin to install and run the PowerShellEditorServices language server.

Installation

  1. Install a PowerShell runtime (e.g. you can run powershell.exe (Windows) or pwsh (macOS/Linux) in your terminal).

  2. Install PowerShell package for syntax highlighting.
    Alternatively, you may use Michael Lyons' PowerShell syntax rewrite.

  3. Install LSP from Package Control.

  4. Install LSP-PowerShellEditorServices from Package Control.

Note

The plugin does not distribute but download language server binaries

Configuration

Open configuration file by running Preferences: LSP-PowerShellEditorServices Settings from Command Palette or via Main Menu (Preferences > Package Settings > LSP > Servers > LSP-PowerShellEditorServices).

Global Script Analysis Settings File

"powershell.scriptAnalysis.settingsPath": "PSScriptAnalyzerSettings.psd1"

By default language server looks up script analysis settings in workspace folders, only.

  • A given relative path is resolved with workspace folders as root.
  • An absolute path can be specified to force usage of a certain settings file.

To provide both a global fallback and project specific files …

  1. specify an absolute path in LSP-PowerShellEditorServices.sublime-settings.
{
      "settings":
      {
         "powershell.scriptAnalysis.settingsPath": "${packages}/User/PSScriptAnalyzerSettings.psd1",
      },
   }
  1. specify a relative path in project specific settings via <My Project>.sublime-project.
{
      "folders": [
         {
            "path": ".",
         },
      ],
      "settings":
      {
         "LSP":
         {
            "PowerShellEditorServices": {
               "settings": {
                  "powershell.scriptAnalysis.settingsPath": "PSScriptAnalyzerSettings.psd1",
               },
            },
         },
      },
   }