Skip to content

How to add PowerShellEditorService support to helix? #3956

Answered by lrottach
leimath asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @leimath

After several hours I got the PowerShell services up and running.
My setup is a MacBook Pro (Mac OS 12.6) with PowerShell 7.2.6 installed.
I downloaded the PowerShell editor services and extracted it under /usr/local/bin/powershell-es.

My languages.toml looks like this:

[[language]]
name = "pwsh"
scope = "source.ps1"
roots = [".git"]
file-types = ["ps1"]
comment-token = "#"
indent = { tab-width = 2, unit = "  " }
language-server = { command = "pwsh", args = ["-NoLogo", "-NoProfile", "-Command", "/usr/local/bin/powershell-es/PowerShellEditorServices/Start-EditorServices.ps1 -BundledModulesPath /usr/local/bin/powershell-es -SessionDetailsPath /usr/local/bin/powershell-es/powersh…

Replies: 4 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@leimath
Comment options

@j2ghz
Comment options

@lrottach
Comment options

@Joe-Zer0
Comment options

Answer selected by leimath
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants
Converted from issue

This discussion was converted from issue #3955 on September 24, 2022 16:56.