Skip to content

kiennq/lsp-powershell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deprecated

Development has been moved to lsp-mode.

lsp-mode client leveraging PowerShellEditorServices

Installation

Optional Pre-requisite

You may need powershell-mode for syntax highlighting. The installation instructions bellow assumes that you've already have that.

Linux/macOS Pre-requisite

Ensure you have installed PowerShell Core before continuing - PowerShell is required to download and run the language server.

Recommended

Using straight.el

(use-package lsp-pwsh
  :straight (lsp-pwsh
             :host github
             :repo "kiennq/lsp-powershell")
  :hook (powershell-mode . (lambda () (require 'lsp-pwsh) (lsp)))
  :defer t)

Alternatives

Using quelpa with quelpa-use-package.

(use-package lsp-pwsh
  :quelpa (lsp-pwsh :fetcher github :repo "kiennq/lsp-powershell")
  :hook (powershell-mode . (lambda () (require 'lsp-pwsh) (lsp-deferred)))
  :defer t)

Customization

You can customize lsp-pwsh-dir and lsp-pwsh-cache-dir as you see fit.

To redownload the latest version of PowerShellEditorServices, use C-u M-x lsp-pwsh-setup.

Manual

Debug

Supported via dap-mode.

lsp-pwsh provided dap-pwsh, which's an extension for dap-mode.

About

lsp-mode client for PowerShellEditorServices

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published